2017 © Pedro Peláez
 

library isign-sdk-php

Client for ISIGN.io e-signature API

image

isign/isign-sdk-php

Client for ISIGN.io e-signature API

  • Thursday, July 26, 2018
  • by wSuFF
  • Repository
  • 2 Watchers
  • 0 Stars
  • 943 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 13 Versions
  • 39 % Grown

The README.md

Dokobit WS API PHP Client

Build Status Scrutinizer Code Quality Code Coverage Build Status, (*1)

How to start?

Check integration tests under tests/Integration for library use cases., (*2)

Logging requests

Log by printing output to screen

Set second parameter to true., (*3)

$client = Dokobit\Client::create([
    'apiKey' => 'xxxxxx', //Your API key
    'sandbox' => true,
], true);

Custom PSR-3 logger

use Monolog\Handler\StreamHandler;
use Monolog\Logger;

$log = new Logger('requests');
$log->pushHandler(new StreamHandler(__DIR__ . '/path/to/info.log', Logger::INFO));

$client = Dokobit\Client::create([
    'apiKey' => 'xxxxxx',
    'sandbox' => true,
], $log);

Read more:, (*4)

http://www.php-fig.org/psr/psr-3/, (*5)

https://github.com/guzzle/log-subscriber, (*6)

https://github.com/Seldaek/monolog, (*7)

Debugging

To dig more into occured error use following methods. A, (*8)

echo (string) $exception->getMessage()
echo (string) $exception->getPrevious()->getResponse()
var_dump( $exception->getResponseData() )

Available on all exception classes except UnexpectedError and QueryValidator., (*9)

Develop

Whole testsuite including integrational tests, (*10)

phpunit

Don't forget to define SANDBOX_API_KEY in your phpunit.xml., (*11)

Running unit tests only:, (*12)

phpunit --testsuite=Unit

Running integrational tests only:, (*13)

phpunit --testsuite=Integration

Running single testcase:, (*14)

phpunit tests/Integration/MobileSignTest.php

The Versions

26/07 2018
06/07 2018
09/05 2018

1.3.x-dev

1.3.9999999.9999999-dev https://www.isign.io

Client for ISIGN.io e-signature API

  Sources   Download

MIT

The Requires

 

The Development Requires

24/04 2018
24/04 2018

1.2.x-dev

1.2.9999999.9999999-dev https://www.isign.io

Client for ISIGN.io e-signature API

  Sources   Download

MIT

The Requires

 

The Development Requires

23/03 2018
22/03 2018

dev-f-timestamp-seal

dev-f-timestamp-seal https://www.isign.io

Client for ISIGN.io e-signature API

  Sources   Download

MIT

The Requires

 

The Development Requires

20/03 2018

dev-f-minor-bugfixes

dev-f-minor-bugfixes https://www.isign.io

Client for ISIGN.io e-signature API

  Sources   Download

MIT

The Requires

 

The Development Requires

19/03 2018

dev-f-allow-annotations

dev-f-allow-annotations https://www.isign.io

Client for ISIGN.io e-signature API

  Sources   Download

MIT

The Requires

 

The Development Requires

09/02 2018

dev-f-new-version-update

dev-f-new-version-update https://www.isign.io

Client for ISIGN.io e-signature API

  Sources   Download

MIT

The Requires

 

The Development Requires

28/06 2017
17/08 2016
18/03 2015