Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Adobe EchoSign PHP API

This PHP library wraps Adobe's EchoSign API, currently at Version 15. The library closely follows the documentation at https://secure.echosign.com/public/docs/EchoSignDocumentService15

##Requirements

  • PHP 5.3
  • SOAP module

##Version 0.1 This is currently a development library, not fully tested for production use

##Usage

There are basic examples of all generally accessible methods in the examples folder. The EchoSign API has several methods that are only accessible by requesting special permission from the provider. Those methods are implemented in the wrapper, but examples are not provided.

###Simple Document Send

$client = new SoapClient(EchoSign\API::getWSDL());
$api = new EchoSign\API($client, 'YOUR API KEY');

$file = EchoSign\Info\FileInfo::createFromFile('demo.pdf');

$document = new EchoSign\Info\DocumentCreationInfo('Test sendDocument', $file);

$recipients = new EchoSign\Info\RecipientInfo;
$recipients->addRecipient($recipient_email);

$document->setRecipients($recipients);

$result = $api->sendDocument($document);

###Simple Embedded Widget Creation

$client = new SoapClient(EchoSign\API::getWSDL());
$api = new EchoSign\API($client, 'YOUR API KEY');

$file = EchoSign\Info\FileInfo::createFromFile('demo.pdf');

$widget = new EchoSign\Info\WidgetCreationInfo('Test createEmbeddedWidget', $file);

$result = $api->createEmbeddedWidget($widget);

About

A PHP wrapper for Adobe EchoSign's API

Resources

Stars

9 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages