2017 © Pedro Peláez
 

library echosign

Library for Adobe Echosign REST APIT

image

nsbucky/echosign

Library for Adobe Echosign REST APIT

  • Friday, January 30, 2015
  • by nsbucky
  • Repository
  • 2 Watchers
  • 4 Stars
  • 103 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Echosign

Library for dealing with adobe echosign REST API v2. You can view the API docs here: https://secure.echosign.com/public/docs/restapi/v2, (*1)

Api v3

This library will not support the new v3 of Echosign. Please take a look at nsbucky/echosignv3 for work in progress., (*2)

Requirements

PHP 5.4, php ext-filter. Uses guzzlehttp as a transport, though you can plug in other ones if you want., (*3)

Please take a look at the tests to see how you can use the library. Its more or less a 1 to 1 with requests and responses for the echosign REST API., (*4)

Installation

In the require key of composer.json file add the following, (*5)

"nsbucky/echosign": "dev-master"

Usage

// get a token from Echosign
use Echosign\Token;
$token = new Token($appId, $appSecret, $apiKey);
$token->authenticate();

// upload a transient document
use Echosign\TransientDocument;
$document = new TransientDocument($token, '/path/to/file/sample.pdf', 'application/pdf');
$document->send();

// create an agreement
use Echosign\Agreement;
use Echosign\Info\DocumentCreationInfo;
$agreement = new Agreement($token);
$fileInfos = new FileInfo();
$docInfo = new DocumentCreationInfo( $fileInfos, 'test', \Echosign\Info\DocumentCreationInfo::SIGN_ESIGN, \Echosign\Info\DocumentCreationInfo::FLOW_NOT_REQUIRED );
$docinfo->addRecipient('user@gmail.com');
$docInfo->addTransientDocument($document);
$response = $agreement->create($docInfo);

The Versions

30/01 2015

dev-master

9999999-dev https://github.com/nsbucky/echosign

Library for Adobe Echosign REST APIT

  Sources   Download

MIT

The Requires

 

The Development Requires

rest adobe echosign

30/01 2015

v0.1-beta

0.1.0.0-beta https://github.com/nsbucky/echosign

Library for Adobe Echosign REST APIT

  Sources   Download

MIT

The Requires

 

The Development Requires

rest adobe echosign