Package Data | |
---|---|
Maintainer Username: | tucker-eric |
Maintainer Contact: | tucker.ericm@gmail.com (Eric Tucker) |
Package Create Date: | 2016-05-26 |
Package Last Update: | 2024-04-25 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-11 15:20:16 |
Package Statistics | |
---|---|
Total Downloads: | 415,867 |
Monthly Downloads: | 4,325 |
Daily Downloads: | 194 |
Total Stars: | 39 |
Total Watchers: | 5 |
Total Forks: | 17 |
Total Open Issues: | 3 |
A Laravel 5 wrapper for the Docusign Rest Client
composer require tucker-eric/laravel-docusign
After updating composer, add the service provider to the providers
array in config/app.php
LaravelDocusign\DocusignServiceProvider::class
Add the facade to the aliases
array in config/app.php
'DocuSign' => LaravelDocusign\Facades\DocuSign::class,
Generate the config file:
php artisan vendor:publish --provider="LaravelDocusign\DocusignServiceProvider"
Add the following to your .env
file (matching the config):
DOCUSIGN_USERNAME=[YOUR_DOCUSIGN_USERNAME]
DOCUSIGN_PASSWORD=[YOUR_DOCUSIGN_PASSWORD]
DOCUSIGN_INTEGRATOR_KEY=[YOUR_DOCUSIGN_INTEGRATOR_KEY]
For usage see the Docusign Rest Client
You can create a new instance of the DocuSign Client with:
$client = DocuSign::create();
Access DocuSign Models:
$signer = DocuSign::signer([
'name' => 'John Doe',
'email' => 'Jdoe123@example.com'
]);
Access DocuSign Api endpoints using get()
;
DocuSign::get('folders')->list();
OR
LaravelDocusign\Client
classYou can create a new instance of the DocuSign Client with:
$client = new LaravelDocusign\Client;