Skip to content

The Official DocuSign PHP Client Library used to interact with the eSign REST API. Send, sign, and approve documents using this client.

License

Notifications You must be signed in to change notification settings

Adequasys/docusign-esign-php-client

 
 

Repository files navigation

The Official DocuSign eSignature PHP Client SDK

Build status

Requirements

Compatibility

  • PHP 7.4+

Installation

This SDK is provided as open source, which enables you to customize its functionality to suit your particular use case. To do so, download or clone the repository. If the SDK’s given functionality meets your integration needs, or if you’re working through our code examples from the DocuSign Developer Center, you merely need to install it by following the instructions below.

Composer:

  1. In your PHP console, type: Composer require docusign/esign-client;
  2. To use the package automatically, add to Composer's Autoload file: require_once('vendor/autoload.php');

Manual install:

  1. Download or clone this repository.
  2. Bind the PHP SDK to your server or place it in a static location.
    1. To bind to your server, edit the init.php file. Add:
      require_once('/path/to/docusign-esign-client/autoload.php');
    2. To bind to single pages: In your PHP file that will utilize the PHP SDK, add:
      require_once('/path/to/docusign-esign-client/autoload.php');
  3. If you are using Composer V2 and get the error 'namespace cannot be found', add the following class mapping in the composer.json file.
  4. "autoload": { "classmap": [ "/path/to/docusign-esign-client/src" ] }

Dependencies

This client has the following external dependencies:

Code examples

You can find on our GitHub a self-executing package of code examples for the eSignature PHP SDK, called a Launcher, that demonstrates common use cases. You can also download a version preconfigured for your DocuSign developer account from Quickstart. These examples can use either the Authorization Code Grant or JSON Web Token (JWT) authentication workflows.

OAuth implementations

For details regarding which type of OAuth grant will work best for your DocuSign integration, see Choose OAuth Type in the DocuSign Developer Center.

For security purposes, DocuSign recommends using the Authorization Code Grant flow.

Support

Log issues against this client through GitHub. We also have an active developer community on Stack Overflow.

License

The DocuSign eSignature PHP Client SDK is licensed under the MIT License.

Additional resources

About

The Official DocuSign PHP Client Library used to interact with the eSign REST API. Send, sign, and approve documents using this client.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%