Skip to content

Commit

Permalink
Package Auto-Discovery (#12)
Browse files Browse the repository at this point in the history
* Add autodiscovery feature.
  • Loading branch information
strotgen authored Aug 11, 2020
1 parent fac24ab commit 2aaf77f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ A Laravel 5 wrapper for the [Docusign Rest Client](https://github.com/Tucker-Eri
composer require tucker-eric/laravel-docusign
```

If you are using Laravel 5.5 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
Expand Down Expand Up @@ -60,4 +62,4 @@ OR
You can create a new instance of the DocuSign Client with:
```php
$client = new LaravelDocusign\Client;
```
```
10 changes: 10 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,15 @@
"LaravelDocusign\\": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"LaravelDocusign\\DocusignServiceProvider"
],
"aliases": {
"DocuSign": "LaravelDocusign\\Facade\\DocuSign"
}
}
},
"minimum-stability": "dev"
}

0 comments on commit 2aaf77f

Please sign in to comment.