This repository contains the tools you need to test your Yoti integration.
Add the Yoti SDK dependency:
$ composer require yoti/yoti-php-sdk-sandbox-
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.
use Yoti\Sandbox\Profile\SandboxClient;
$sandboxClient = new SandboxClient('SANDBOX_CLIENT_SDK_ID', '/path/to/your-pem-file.pem');use Yoti\YotiClient;
$yotiClient = new YotiClient('SANDBOX_CLIENT_SDK_ID', '/path/to/your-pem-file.pem', [
'api.url' => 'https://api.yoti.com/sandbox/v1'
]);use Yoti\Sandbox\DocScan\SandboxClient;
$sandboxClient = new SandboxClient('SANDBOX_CLIENT_SDK_ID', '/path/to/your-pem-file.pem');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'
]);