Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tucker-eric/laravel-docusign
A Laravel 6 wrapper for the DocuSign Rest Client
https://github.com/tucker-eric/laravel-docusign
api-wrapper docusign docusign-client docusign-rest laravel laravel-docusign
Last synced: 8 days ago
JSON representation
A Laravel 6 wrapper for the DocuSign Rest Client
- Host: GitHub
- URL: https://github.com/tucker-eric/laravel-docusign
- Owner: Tucker-Eric
- License: mit
- Created: 2016-05-26T18:07:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T21:55:33.000Z (7 months ago)
- Last Synced: 2024-04-26T23:17:49.166Z (6 months ago)
- Topics: api-wrapper, docusign, docusign-client, docusign-rest, laravel, laravel-docusign
- Language: PHP
- Homepage:
- Size: 21.5 KB
- Stars: 39
- Watchers: 5
- Forks: 18
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Laravel Docusign
A Laravel wrapper for the [Docusign Rest Client](https://github.com/Tucker-Eric/docusign-rest-client)### Install Through Composer
```
composer require tucker-eric/laravel-docusign
```If you are using Laravel 6 or a newer version the package will automatically register its service provider. You only need to generate the config file.
After updating composer, add the service provider to the `providers` array in `config/app.php`
```php
LaravelDocusign\DocusignServiceProvider::class
```Add the facade to the `aliases` array in `config/app.php`
```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]
```## Usage
For usage see the [Docusign Rest Client](https://github.com/Tucker-Eric/docusign-rest-client)### Using the Facade
You can create a new instance of the DocuSign Client with:```php
$client = DocuSign::create();
```Access DocuSign Models:
```php
$signer = DocuSign::signer([
'name' => 'John Doe',
'email' => '[email protected]'
]);
```Access DocuSign Api endpoints using `get()`;
```php
DocuSign::get('folders')->callList();
```
OR### Using the `LaravelDocusign\Client` class
You can create a new instance of the DocuSign Client with:
```php
$client = new LaravelDocusign\Client;
```