nsbucky / echosignv3
Adobe Echosign REST API v3
Installs: 3 293
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 3
Open Issues: 0
Language:HTML
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ~5.0
- monolog/monolog: ~1.12
- psr/log: ~1.0
Requires (Dev)
- mockery/mockery: dev-master@dev
This package is auto-updated.
Last update: 2024-12-18 17:08:00 UTC
README
This library handles responses and request for Adobe's Echosign REST API v3. Please take a look at their documentation for more explanation on what their service provides. https://secure.echosign.com/public/docs/restapi/v3
Requirements
PHP 5.4, php ext-filter. You will need to have an oAuth token generated by Adobe to interact with their service. You can sign up online at https://www.echosign.adobe.com/en/home.html
Installation
In the require
key of composer.json
file add the following
"nsbucky/echosignv3": "dev-master"
Usage
All endpoints are available. Each endpoint needs an oAuth token and transport to function. A default transport provided by GuzzleHttp comes standard.
use Echosign\Transports\GuzzleTransport;
use Echosign\BaseUris;
$transport = new GuzzleTransport();
$baseUris = new BaseUris( 'YOUR oAUTH TOKEN', $transport );
$baseUriInfo = $baseUris->getBaseUris();
echo $baseUriInfo->getApiAccessPoint(); // https://api.echosign.com
Creators
Some of the more complex request are a pain to build, so try using one of the Creators instead. This one for example will create a transient document from a local file, then create a signing request for the specified email.
use Echosign\Creators\Agreement;
$agreementCreator = new Agreement( 'YOUR oAUTH TOKEN' );
$agreementId = $agreementCreator->createTransientAgreement( $signerEmail, $message, $filepath, $agreementName );