Skip to content

Commit

Permalink
Merge pull request #11 from jshayes/master
Browse files Browse the repository at this point in the history
Add support for Laravel package discovery
  • Loading branch information
Jaspaul authored Jan 11, 2018
2 parents f9b4a8b + 8d8c842 commit 25709f5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,12 @@
},
"config": {
"sort-packages": true
},
"extra": {
"laravel": {
"providers": [
"Jaspaul\\LaravelRollout\\ServiceProvider"
]
}
}
}
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ composer require jaspaul/laravel-rollout

### Configuring the Service Provider

Open config/app.php and register the required service provider above your application providers.
On Laravel 5.5, the package discovery will configure the service provider automatically.

On Laravel 5.4, open config/app.php and register the required service provider above your application providers.

```php
'providers' => [
Expand Down

0 comments on commit 25709f5

Please sign in to comment.