yoti/yoti-php-sdk-sandbox
最新稳定版本:1.6.0
Composer 安装命令:
composer require yoti/yoti-php-sdk-sandbox
包简介
Yoti PHP SDK Sandbox
README 文档
README
This repository contains the tools you need to test your Yoti integration.
Installing the Sandbox
Add the Yoti SDK dependency:
$ composer require yoti/yoti-php-sdk-sandbox
Configuration
-
SANDBOX_CLIENT_SDK_IDis the Sandbox SDK identifier generated from the Sandbox section on Yoti Hub. -
/path/to/your-pem-file.pemis the path to the Sandbox PEM file. It can be downloaded from the Sandbox section on Yoti Hub.
Please do not open the PEM file, as this might corrupt the key, and you will need to redownload it.
Profile
Profile Sandbox Client
use Yoti\Sandbox\Profile\SandboxClient; $sandboxClient = new SandboxClient('SANDBOX_CLIENT_SDK_ID', '/path/to/your-pem-file.pem');
Yoti Client
use Yoti\YotiClient; $yotiClient = new YotiClient('SANDBOX_CLIENT_SDK_ID', '/path/to/your-pem-file.pem', [ 'api.url' => 'https://api.yoti.com/sandbox/v1' ]);
Doc Scan
Doc Scan Sandbox Client
use Yoti\Sandbox\DocScan\SandboxClient; $sandboxClient = new SandboxClient('SANDBOX_CLIENT_SDK_ID', '/path/to/your-pem-file.pem');
Doc Scan Client
use Yoti\DocScan\DocScanClient; $docScanClient = new DocScanClient('SANDBOX_CLIENT_SDK_ID', '/path/to/your-pem-file.pem', [ 'api.url' => 'https://api.yoti.com/sandbox/idverify/v1' ]);
Examples
统计信息
- 总下载量: 82.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-03-20