PHP SDK for Unicheck.com corporate API 2.0+.
SDK implements API methods in PHP OOP way.
#Require Unicheck sdk
php composer.phar require unicheck/unicheck-corp-php-sdk
//create Unicheck client
$unicheck = new Unicheck('YOUR-API-KEY', 'YOUR-API-SECRET');
//upload file
$file = $unicheck->fileUpload(PayloadFile::bin($testText), 'txt');
//start check
$checkParam = new CheckParam($file['id']);
$checkParam->setType(CheckParam::TYPE_WEB);
$check = $unicheck->checkCreate($checkParam);
echo 'Check started!' . PHP_EOL;
var_dump($check);