library unicheck-corp-php-sdk
An SDK built to facilitate application development for Unicheck Corporate API 2.0+ (ex Unplag)
unicheck/unicheck-corp-php-sdk
An SDK built to facilitate application development for Unicheck Corporate API 2.0+ (ex Unplag)
- Friday, June 16, 2017
- by unicheck
- Repository
- 5 Watchers
- 3 Stars
- 1,482 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 2 Forks
- 1 Open issues
- 2 Versions
- 12 % Grown
[DEPRECATED] This project has reached the end of its development
unicheck-corp-php-sdk
, (*1)
PHP SDK for Unicheck.com corporate API 2.0+.
SDK implements API methods in PHP OOP way., (*2)
Installation
Using composer
#Require Unicheck sdk
php composer.phar require unicheck/unicheck-corp-php-sdk
Usage
//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);
Help and docs