The DocuSign PHP library makes integrating DocuSign into your apps and websites a super fast and painless process. The library is open sourced on GitHub, look for the docusign-esign-php-client repository. Join the eSign revolution!

v8.0.0-rc1 2024-07-05 12:09 UTC

This package is auto-updated.

Last update: 2024-07-11 16:13:23 UTC


The Docusign SDK makes integrating Docusign into your apps and websites a seamless experience.

Table of Contents


Integrate eSignatures into your application in minutes. The secure and award-winning Docusign eSignature API makes requesting signatures, automating forms, and tracking documents directly from your app easy.


This client 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.

Version Information

  • API version: v2.1
  • Latest SDK version: 8.0.0-rc1



  • PHP 7.4+


  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:
    2. To bind to single pages: In your PHP file that will utilize the PHP SDK, add:
  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-php-client/src" ] }

SDK Dependencies

This client has the following external dependencies:

API Reference

You can refer to the API reference here.

Code examples

Explore our GitHub repository for the Launcher, a self-executing package housing code examples for the eSignature PHP SDK. This package showcases several common use cases and their respective source files. Additionally, you can download a version preconfigured for your Docusign developer account from Quickstart. These examples support both the Authorization Code Grant and 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.


You can refer to the complete changelog here.


Log issues against this client SDK through GitHub. You can also reach out to us through Docusign Community and Stack Overflow.


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

Additional resources