rstmgsnvimax/irisnet-ai-php-api-client
Composer 安装命令:
composer require rstmgsnvimax/irisnet-ai-php-api-client
包简介
Artificial Intelligence (AI) for image- and video-processing in real-time. This is an interactive documentation where you can quickly look up the endpoints and their schemas, while having the opportunity to try things out for yourself. In the list below, you can see the available endpoints of the A
README 文档
README
Artificial Intelligence (AI) for image- and video-processing in real-time. This is an interactive documentation where you can quickly look up the endpoints and their schemas, while having the opportunity to try things out for yourself.
In the list below, you can see the available endpoints of the API, which can be expanded by clicking on them. Each expanded endpoint lists the request parameters (if available) and the request body (if available). The request body can list some example bodies and the schema, explaining each model in detail.
Additionally you'll find a 'Try it out' button that allows you to enter your custom parameters and custom body and execute that against the API. Be sure to enter your license key to authorize the requests before using this documentation interactively.
The responses section in the expanded endpoint lists the possible responses with their corresponding status codes. If you've executed an API call it will also show you the response from the server.
Underneath the endpoints you'll find the model schemas. These are the models used for the requests and responses. If you click on the right arrow, you can expand the model and get a description of the model and the model parameters. For nested models, you can keep clicking the right arrow for further details.
Clicking the link below the title at the top of this page opens the OpenAPI specification (OAS3) in JSON format. The OAS3 Spec allows the generation of clients in many programming languages. There are several free client generators available that can be used to get started easily.
For more information, please visit https://shop.airisprotect.com.
Installation & Usage
Requirements
PHP 8.1 and later.
Composer
To install the bindings via Composer, add the following to composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
}
],
"require": {
"GIT_USER_ID/GIT_REPO_ID": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php:
<?php require_once('/path/to/IrisnetPHPClient/vendor/autoload.php');
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: LICENSE-KEY $config = Irisnet\API\Client\Configuration::getDefaultConfiguration()->setApiKey('LICENSE-KEY', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = Irisnet\API\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('LICENSE-KEY', 'Bearer'); $apiInstance = new Irisnet\API\Client\Api\AICheckOperationsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); $configId = 'configId_example'; // string | The configuration id from the Basic Configuration operations. $biometricCheckRequestData = {"callback":{"callbackUrl":"https://www.example.com/callback?ageestimation"},"selfieImage":"/9j/4AAQSkZJRgABAQEASABIAAD..."}; // \Irisnet\API\Client\Model\BiometricCheckRequestData | The BiometricCheckRequestData containing data needed for the age verification check. try { $result = $apiInstance->ageVerification($configId, $biometricCheckRequestData); print_r($result); } catch (Exception $e) { echo 'Exception when calling AICheckOperationsApi->ageVerification: ', $e->getMessage(), PHP_EOL; }
API Endpoints
All URIs are relative to https://api.irisnet.de
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AICheckOperationsApi | ageVerification | POST /v2/age-verification/{configId} | Perform an age verfication check for a given selfie with the AI. |
| AICheckOperationsApi | checkIdDocument | POST /v2/check-id-document/{configId} | Check an id document with the AI. |
| AICheckOperationsApi | checkImage | POST /v2/check-image/{configId} | Check an image with the AI. |
| AICheckOperationsApi | checkPoaDocument | POST /v2/check-poa-document/{configId} | Perform an proof of address check with the AI. |
| AICheckOperationsApi | checkStream | POST /v2/check-stream/{configId} | Check a stream with the AI. |
| AICheckOperationsApi | checkVideo | POST /v2/check-video/{configId} | Check a video with the AI. |
| AICheckOperationsApi | faceAuthentication | POST /v2/face-authentication/{configId} | Perform a face authentication for a given selfie with the AI. |
| AICheckOperationsApi | liveDocumentCheck | POST /v2/check-live-id-document/{configId} | Start a guided live id document check with the AI. |
| BalanceEndpointsApi | getCost | GET /v2/cost/{configId} | Get the cost of the configuration for a single image. |
| BalanceEndpointsApi | getLicenseInfo | GET /v2/info/ | Get information for the given license key. |
| BalanceEndpointsApi | getVideoCost | GET /v2/cost/{configId}/{frames} | Get the cost of the configuration for moving images. |
| BalanceEndpointsApi | getVideoCost1 | GET /v2/cost/{configId}/{fps}/{duration} | Get the cost of the configuration for moving images. |
| ConfigurationManagementApi | deleteConfig | DELETE /v2/config/{configId} | Delete an AI configuration. |
| ConfigurationManagementApi | getAllConfigs | GET /v2/config/ | List all saved AI configurations. |
| ConfigurationManagementApi | getConfig | GET /v2/config/{configId} | Get a specific AI configuration. |
| ConfigurationManagementApi | setConfig | POST /v2/config/ | Create a new AI configuration. |
| DetailedConfigurationParametersApi | clearParameters | DELETE /v2/config/parameters/{configId} | Delete the parameters of the AI configuration. |
| DetailedConfigurationParametersApi | getParameters | GET /v2/config/parameters/{configId} | Get the parameters of the AI configuration. |
| DetailedConfigurationParametersApi | setParameters | POST /v2/config/parameters/{configId} | Set parameters to the given AI configuration. |
Models
- AgeVerificationAttribute
- AgeVerificationDetection
- AgeVerificationSubChecks
- ApiNotice
- BaseAttribute
- BaseDetection
- BiometricCheckRequestData
- BreastDetection
- BrokenRule
- Callback
- CheckResult
- Config
- Coordinates
- Data
- Detection
- DocumentCheckRequestData
- Encoded
- Event
- FaceDetection
- HairAttribute
- HairDetection
- IdDocumentAttribute
- IdDocumentDetection
- IdDocumentSubChecks
- KnownFace
- KycUiParameter
- LicenseInfo
- LiveDocumentCheckRequestData
- LiveDocumentCheckResponseData
- Param
- ParamSet
- PoaCheckRequestData
- Pricing
- Rectangle
- Summary
Authorization
Authentication schemes defined for the API:
LICENSE-KEY
- Type: API key
- API key parameter name: LICENSE-KEY
- Location: HTTP header
Tests
To run the tests, use:
composer install vendor/bin/phpunit
Author
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
v2- Package version:
3.7.6 - Generator version:
7.14.0
- Package version:
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen
rstmgsnvimax/irisnet-ai-php-api-client 适用场景与选型建议
rstmgsnvimax/irisnet-ai-php-api-client 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 10 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「rest」 「api」 「sdk」 「openapi」 「openapitools」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rstmgsnvimax/irisnet-ai-php-api-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rstmgsnvimax/irisnet-ai-php-api-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rstmgsnvimax/irisnet-ai-php-api-client 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A PSR-7 compatible library for making CRUD API endpoints
Api bundle
Alfabank REST API integration
A Flickr wrapper to allow you to call the Flickr api with Guzzle as the backend.Goal is to have 100% Flickr api coverage rather than just upload/display photos (currently at 23%).
BlockCypher's PHP SDK for REST API
Helper classes for creating cookie headers
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 36
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: unlicense
- 更新时间: 2025-10-01