2017 © Pedro Peláez
 

symfony-bundle echosign-bundle

EchoSign Bundle contains methods to interact with EchoSign WebServices

image

ets/echosign-bundle

EchoSign Bundle contains methods to interact with EchoSign WebServices

  • Tuesday, August 23, 2016
  • by ClementGautier
  • Repository
  • 29 Watchers
  • 4 Stars
  • 4,050 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

ETSEchoSignBundle

ETSEchoSignBundle provides a wrapper to EchoSign APIs: https://secure.echosign.com/public/docs/EchoSignDocumentService16, (*1)

Build Status Scrutinizer Code Quality SensioLabsInsight, (*2)

Installation

You can install the bundle by using composer., (*3)

composer.phar require ets/echosign-bundle

Use dev-master when it asks which version to install., (*4)

Enabling the bundle

Enable the bundle in the kernel: ``` php <?php // app/AppKernel.php, (*5)

public function registerBundles() { $bundles = array( // ... new ETS\EchoSignBundle\ETSEchoSignBundle() ); }, (*6)


Configuration ================= The bundle requires mandatory parameters, in your config.yml:

ets_echo_sign: api: key: YOUR_API_KEY gateway: ECHOSIGN_API_GATEWAY #e.g: https://secure.echosign.com/services/EchoSignDocumentService16 wsdl: ECHOSIGN_API_WSDL_URL #e.g: https://secure.echosign.com/services/EchoSignDocumentService16?wsdl, (*7)

You could also activate the debug option:

ets_echo_sign: debug: prefix: YOUR_PREFIX, (*8)

It does nothing more than adding the prefix to the filename when uploading. Since EchoSign offers no way to organize your files, the prefix should help you classify uploaded files in a "cleaner" way. For example, you could have a prefix "DEV_" for local development, "PREPROD_" for preprod environment.

And you have to specify a list of email addresses to use as recipients:

ets_echo_sign: recipients: [email1@corp.com], (*9)


Available APIs ============== Client service offers wrappers to the most used methods: - sendDocument - getDocumentInfo - removeDocument - getMyDocuments **To send a document:**

$recipients = new RecipientInfoCollection('recipient@test.com'); $fileCollections = new FileInfoCollection(); $fileCollections->addFileInfo(new FileInfo('file.pdf', 'file.pdf')); $documentCreationInfo = new DocumentCreationInfo($recipients, 'Test document', $fileCollections); $this->getContainer()->get('ets.echo.sign.client')->sendDocument($documentCreationInfo);, (*10)

The method returns the document key of the newly uploaded file

**To get info on a document**

$this->getContainer()->get('ets.echo_sign.client')->getDocumentInfo($documentKey);, (*11)

If the document doesn't exist, it will return null instead of a SoapFault exception as implemented by the original API.

**To remove a document**

$this->getContainer()->get('ets.echo_sign.client')->removeDocument($documentKey);, (*12)


**To retrieve all documents**

$this->getContainer()->get('ets.echo_sign.client')->getMyDocuments(); ```, (*13)

Code License:

Resources/meta/LICENSE, (*14)

The Versions

23/08 2016

dev-master

9999999-dev https://github.com/ETSGlobal/ETSEchoSignBundle

EchoSign Bundle contains methods to interact with EchoSign WebServices

  Sources   Download

Apache-2.0

The Requires

 

by ETS Global Dev Team

api echosign

23/08 2016

0.2.5

0.2.5.0 https://github.com/ETSGlobal/ETSEchoSignBundle

EchoSign Bundle contains methods to interact with EchoSign WebServices

  Sources   Download

Apache-2.0

The Requires

 

by ETS Global Dev Team

api echosign

04/07 2014

0.2.4

0.2.4.0 https://github.com/ETSGlobal/ETSEchoSignBundle

EchoSign Bundle contains methods to interact with EchoSign WebServices

  Sources   Download

Apache-2.0

The Requires

 

by ETS Global Dev Team

api echosign

11/06 2014

0.2.3

0.2.3.0 https://github.com/ETSGlobal/ETSEchoSignBundle

EchoSign Bundle contains methods to interact with EchoSign WebServices

  Sources   Download

Apache-2.0

The Requires

 

by ETS Global Dev Team

api echosign

11/06 2014

0.2.2

0.2.2.0 https://github.com/ETSGlobal/ETSEchoSignBundle

EchoSign Bundle contains methods to interact with EchoSign WebServices

  Sources   Download

Apache-2.0

The Requires

 

by ETS Global Dev Team

api echosign

11/06 2014

0.2.1

0.2.1.0 https://github.com/ETSGlobal/ETSEchoSignBundle

EchoSign Bundle contains methods to interact with EchoSign WebServices

  Sources   Download

Apache-2.0

The Requires

 

by ETS Global Dev Team

api echosign

11/06 2014

0.2

0.2.0.0 https://github.com/ETSGlobal/ETSEchoSignBundle

EchoSign Bundle contains methods to interact with EchoSign WebServices

  Sources   Download

Apache-2.0

The Requires

 

by ETS Global Dev Team

api echosign

10/06 2014

0.1

0.1.0.0 https://github.com/ETSGlobal/ETSEchoSignBundle

EchoSign Bundle contains methods to interact with EchoSign WebServices

  Sources   Download

Apache-2.0

The Requires

 

by ETS Global Dev Team

api echosign