unicheck / unicheck-corp-php-sdk
An SDK built to facilitate application development for Unicheck Corporate API 2.0+ (ex Unplag)
Installs: 6 148
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 5
Open Issues: 3
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ^6.2.2
- guzzlehttp/oauth-subscriber: ^0.3.0
- rybakit/msgpack: ^0.2.1
This package is not auto-updated.
Last update: 2024-09-29 04:20:12 UTC
README
unicheck-corp-php-sdk
PHP SDK for Unicheck.com corporate API 2.0+.
SDK implements API methods in PHP OOP way.
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);