Download the PHP package dokobit/ws-api-sdk-php without Composer
On this page you can find all versions of the php package dokobit/ws-api-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dokobit/ws-api-sdk-php
More information about dokobit/ws-api-sdk-php
Files in dokobit/ws-api-sdk-php
Download dokobit/ws-api-sdk-php
More information about dokobit/ws-api-sdk-php
Files in dokobit/ws-api-sdk-php
Vendor dokobit
Package ws-api-sdk-php
Short Description Client for Dokobit.com e-signature WS API
License MIT
Homepage https://www.dokobit.com/solutions
Package ws-api-sdk-php
Short Description Client for Dokobit.com e-signature WS API
License MIT
Homepage https://www.dokobit.com/solutions
Please rate this library. Is it a good library?
Informations about the package ws-api-sdk-php
Dokobit WS API PHP Client
How to start?
Check integration tests under tests/Integration
for library use cases.
Logging requests
Custom PSR-3 logger
use GuzzleHttp\Middleware;
use GuzzleHttp\MessageFormatter;
use Monolog\Logger;
$log = Middleware::log(new Logger('requests'), new MessageFormatter(MessageFormatter::DEBUG));
$client = Dokobit\Client::create([
'apiKey' => 'xxxxxx',
'sandbox' => true,
], $log);
Read more:
http://www.php-fig.org/psr/psr-3/
https://github.com/Seldaek/monolog
Debugging
To dig more into occured error use following methods. A
echo (string) $exception->getMessage()
echo (string) $exception->getPrevious()->getResponse()
var_dump( $exception->getResponseData() )
Available on all exception classes except UnexpectedError
and QueryValidator
.
Develop
Whole testsuite including integrational tests
phpunit
Don't forget to define SANDBOX_API_KEY
in your phpunit.xml.
Running unit tests only:
phpunit --testsuite=Unit
Running integrational tests only:
phpunit --testsuite=Integration
Running single testcase:
phpunit tests/Integration/MobileSignTest.php
All versions of ws-api-sdk-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
guzzlehttp/guzzle Version ~6.0 || ~7.0
symfony/validator Version ~3.2 || ~4.0 || ~5.0
guzzlehttp/guzzle Version ~6.0 || ~7.0
symfony/validator Version ~3.2 || ~4.0 || ~5.0
The package dokobit/ws-api-sdk-php contains the following files
Loading the files please wait ....