EchoSign Bundle contains methods to interact with EchoSign WebServices

Installs: 2 587

Dependents: 1

Stars: 4

Watchers: 18

Forks: 1

Language: PHP

0.2.4 2014-07-04 15:20 UTC


ETSEchoSignBundle provides a wrapper to EchoSign APIs:

Build Status Scrutinizer Code Quality SensioLabsInsight


You can install the bundle by using composer.

composer.phar require ets/echosign-bundle

Use dev-master when it asks which version to install.

Enabling the bundle

Enable the bundle in the kernel:

// app/AppKernel.php

public function registerBundles()
    $bundles = array(
        // ...
        new ETS\EchoSignBundle\ETSEchoSignBundle()


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

        key:  YOUR_API_KEY
        gateway:  ECHOSIGN_API_GATEWAY #e.g:
        wsdl:  ECHOSIGN_API_WSDL_URL #e.g:

You could also activate the debug option:

        prefix:  YOUR_PREFIX

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:

    recipients:  []

Available APIs

Client service offers wrappers to the most used methods:

  • sendDocument
  • getDocumentInfo
  • removeDocument
  • getMyDocuments

To send a document:

$recipients = new RecipientInfoCollection('');
$fileCollections = new FileInfoCollection();
$fileCollections->addFileInfo(new FileInfo('file.pdf', 'file.pdf'));
$documentCreationInfo = new DocumentCreationInfo($recipients, 'Test document', $fileCollections);

The method returns the document key of the newly uploaded file

To get info on a document


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


To retrieve all documents


Code License: