PHPackages                             taitai42/docusign - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. taitai42/docusign

ActiveLibrary[API Development](/categories/api)

taitai42/docusign
=================

DocuSign Rest API Wrapper for Laravel 5

1.1.1(6y ago)09.8k↓50%MITPHPPHP &gt;=5.4.0

Since Dec 27Pushed 6y agoCompare

[ Source](https://github.com/taitai42/docusign)[ Packagist](https://packagist.org/packages/taitai42/docusign)[ Docs](https://github.com/tjphippen/docusign)[ RSS](/packages/taitai42-docusign/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

DocuSign for Laravel 5
======================

[](#docusign-for-laravel-5)

 This package was developed to utilize e-contract/signatures directly within a Laravel based CRM. [![PHPPackages Rank](https://camo.githubusercontent.com/60c0e1ccd5ee2abc703aa65a0a797508cac500f9d6190cd77fb250400dc6eaac/687474703a2f2f7068707061636b616765732e6f72672f702f746a7068697070656e2f646f63757369676e2f62616467652f72616e6b2e737667)](http://phppackages.org/p/tjphippen/docusign)[![Latest Stable Version](https://camo.githubusercontent.com/de5d1fcd7e9d78c6ecfb8aca6a07986ab7332c13011fdfd5d33186a76f2ee7a0/68747470733a2f2f706f7365722e707567782e6f72672f746a7068697070656e2f646f63757369676e2f762f737461626c652e706e67)](https://packagist.org/packages/tjphippen/docusign) [![Total Downloads](https://camo.githubusercontent.com/b7879804b9e51a0dcc2f62cba7302b8acdfdd70fa2634a7e214707116f12c0f4/68747470733a2f2f706f7365722e707567782e6f72672f746a7068697070656e2f646f63757369676e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/tjphippen/docusign)

- [Packagist](https://packagist.org/packages/tjphippen/docusign)
- [GitHub](https://github.com/tjphippen/docusign)

---

Installation
------------

[](#installation)

Add the following to your `composer.json` file.

```
"tjphippen/docusign": "0.3.*@dev"

```

Then run `composer install` or `composer update` to download and install.

You'll then need to register the service provider in your `config/app.php` file within `providers`.

```
'providers' => array(
    Tjphippen\Docusign\DocusignServiceProvider::class,
)
```

DocuSign includes a auto registered facade which provides the static syntax for managing envelopes, recipients etc. If you have issues simply add it manually to your aliases array

```
'aliases' => array(
    'Docusign'  => Tjphippen\Docusign\Facades\Docusign::class,
)
```

### Create configuration file using artisan

[](#create-configuration-file-using-artisan)

```
$ php artisan vendor:publish

```

The configuration file will be published to `config/docusign.php` which must be completed to make connections to the API.

```
    /**
     * The DocuSign Integrator's Key
     */

    'integrator_key' => '',

    /**
     * The Docusign Account Email
     */
    'email' => '',

    /**
     * The Docusign Account Password
     */
    'password' => '',
...
```

Examples
--------

[](#examples)

#### Get List of Users

[](#get-list-of-users)

```
Docusign::getUsers();
```

#### Get Individual User

[](#get-individual-user)

```
Docusign::getUser($userId);
Docusign::getUser($userId, true);  // When true, the full list of user information is returned for the user.
```

#### Get Folders

[](#get-folders)

```
Docusign::getFolders(); // By default only the list of template folders are returned
Docusign::getFolders(true);  // Will return normal folders plus template folders
```

#### Get Folder Envelope List

[](#get-folder-envelope-list)

```
Docusign::getFolderEnvelopes($folderId);
```

See: [All Parameters](https://www.docusign.com/p/RESTAPIGuide/RESTAPIGuide.htm#REST%20API%20References/Get%20Folder%20Envelope%20List.htm%3FTocPath%3DREST%2520API%2520References%7C_____97) for this method.

```
Docusign::getFolderEnvelopes($folderId, array(
   'start_position' => 1, // Integer
   'from_date' => '', // date/Time
   'to_date' => '', // date/Time
   'search_text' => '', // String
   'status' => 'created', // Status
   'owner_name' => '', // username
   'owner_email' => '', // email
   );
```

#### Get List of Templates

[](#get-list-of-templates)

```
Docusign::getTemplates();
```

Or with [Additional Parameters](https://www.docusign.com/p/RESTAPIGuide/RESTAPIGuide.htm#REST%20API%20References/Get%20List%20of%20Templates.htm%3FTocPath%3DREST%2520API%2520References%7C_____115).

```
Docusign::getTemplates(array(
   'folder' => 1, // String (folder name or folder ID)
   'folder_ids' => '', // Comma separated list of folder ID GUIDs.
   'include' => '', // Comma separated list of additional template attributes
    ...
   );
```

#### Get Template

[](#get-template)

```
Docusign::getTemplate($templateId);
```

#### Get Multiple Envelopes

[](#get-multiple-envelopes)

```
$envelopes = array('49d91fa5-1259-443f-85fc-708379fd7bbe', '8b2d44a-41dc-4698-9233-4be0678c345c');
Docusign::getEnvelopes($envelopes);
```

#### Get Individual Envelope

[](#get-individual-envelope)

```
Docusign::getEnvelope($envelopeId);
```

#### Get Envelope Recipient

[](#get-envelope-recipient)

```
Docusign::getEnvelopeRecipients($envelopeId);
```

To include tabs simply set the second parameter to true:

```
Docusign::getEnvelopeRecipients($envelopeId, true);
```

#### Get Envelope Custom Fields

[](#get-envelope-custom-fields)

```
Docusign::getEnvelopeCustomFields($envelopeId);
```

#### Get Tab Information for a Recipient

[](#get-tab-information-for-a-recipient)

See: [Tab Parameters](https://www.docusign.com/p/RESTAPIGuide/RESTAPIGuide.htm#REST%20API%20References/Tab%20Parameters.htm%3FTocPath%3DREST%2520API%2520References%7CSend%2520an%2520Envelope%2520or%2520Create%2520a%2520Draft%2520Envelope%7CTab%2520Parameters%7C_____0)

```
Docusign::getEnvelopeTabs($envelopeId, $recipientId);
```

#### Modify Tabs for a Recipient

[](#modify-tabs-for-a-recipient)

This one is a bit tricky. The `tabId` is required and must be within set of arrays. See: \[Tab Types and Parameters\] ()

```
$tabs = ['textTabs' => [['tabId' => '270269f6-4a84-4ff9-86db-2a572eb73d99', 'value' => '123 Fake Street']]];
Docusign::updateRecipientTabs($envelopeId, $recipientId, $tabs);
```

#### Create/Send an Envelope from a Template

[](#createsend-an-envelope-from-a-template)

See: [Send an Envelope or Create a Draft Envelope](https://www.docusign.com/p/RESTAPIGuide/RESTAPIGuide.htm#REST%20API%20References/Send%20an%20Envelope.htm%3FTocPath%3DREST%2520API%2520References%7CSend%2520an%2520Envelope%2520or%2520Create%2520a%2520Draft%2520Envelope%7C_____0) for full list of parameters/options.

```
Docusign::createEnvelope(array(
   'templateId'     => 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', // Template ID
   'emailSubject'   => 'Demo Envelope Subject', // Subject of email sent to all recipients
   'status'         => 'created', // created = draft ('sent' will send the envelope!)
   'templateRoles'  => array(
        ['name'     => 'TJ Phippen',
         'email'    => 'tj@tjphippen.com',
         'roleName' => 'Contractor',
         'clientUserId'  => 1],
        ['name'     => 'Jane Someone',
         'email'    => 'demo@demo.com',
         'roleName' => 'Customer']),
    ));
```

#### Modify Draft Envelope Email Subject and Message

[](#modify-draft-envelope-email-subject-and-message)

The `updateEnvelope` method can be used in a variety of ways..

```
Docusign::updateEnvelope($envelopeId, array(
    'emailSubject' => 'New Email Subject', // Required
    'emailBlurb' => 'Email message body text'
));
```

#### Post Recipient View

[](#post-recipient-view)

Returns embeded signing URL. \[Reference\] ()

```
Docusign::createRecipientView($envelopeId, array(
    'userName' => 'TJ Phippen',
    'email' => 'tj@tjphippen.com',
    'AuthenticationMethod' => 'email',
    'clientUserId' => 1, // Must create envelope with this ID
    'returnUrl' => 'http://your-site.tdl/returningUrl'
));
```

#### Send Draft Envelope

[](#send-draft-envelope)

```
Docusign::updateEnvelope($envelopeId, ['status' => 'sent']);
```

#### Void Envelope

[](#void-envelope)

```
Docusign::updateEnvelope($envelopeId, array(
    'status' => 'voided',
    'voidedReason' => 'Just Testing'
));
```

#### Delete Envelope

[](#delete-envelope)

```
Docusign::deleteEnvelope($envelopeId);
```

Change Log
----------

[](#change-log)

#### v0.2.0

[](#v020)

- Updated Guzzle dependancy &amp; namespace

#### v0.2.0

[](#v020-1)

- Added trait

#### v0.1.0

[](#v010)

- Released

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

2324d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bbb753c87c536c8e63f4bcf9fd549f1862415a562a394c8fcea79792eb23602e?d=identicon)[yannis](/maintainers/yannis)

---

Top Contributors

[![tjphippen](https://avatars.githubusercontent.com/u/8011699?v=4)](https://github.com/tjphippen "tjphippen (20 commits)")[![dalmarcolucas](https://avatars.githubusercontent.com/u/17152587?v=4)](https://github.com/dalmarcolucas "dalmarcolucas (1 commits)")[![dankuck](https://avatars.githubusercontent.com/u/277837?v=4)](https://github.com/dankuck "dankuck (1 commits)")

---

Tags

laravelsignlaravel 5docusigndocumentsenvelope

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/taitai42-docusign/health.svg)

```
[![Health](https://phpackages.com/badges/taitai42-docusign/health.svg)](https://phpackages.com/packages/taitai42-docusign)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M718](/packages/statamic-cms)[irazasyed/telegram-bot-sdk

The Unofficial Telegram Bot API PHP SDK

3.3k4.5M84](/packages/irazasyed-telegram-bot-sdk)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
