PHP code example of kyc-ai / external-shufti
1. Go to this page and download the library: Download kyc-ai/external-shufti library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kyc-ai / external-shufti example snippets
use KycAi\Laravel\Facades\Kyc;
use KycAi\Laravel\KycLevel;
$result = Kyc::document($request->file('id_front'))
->country('sa')
->level(KycLevel::Full)
->verify();
$result->external()?->provider(); // "shufti"
$result->external()?->meta(); // reference, event, payload