Skip to content

Commit 25709f5

Browse files
authored
Merge pull request #11 from jshayes/master
Add support for Laravel package discovery
2 parents f9b4a8b + 8d8c842 commit 25709f5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,12 @@
4141
},
4242
"config": {
4343
"sort-packages": true
44+
},
45+
"extra": {
46+
"laravel": {
47+
"providers": [
48+
"Jaspaul\\LaravelRollout\\ServiceProvider"
49+
]
50+
}
4451
}
4552
}

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ composer require jaspaul/laravel-rollout
1414

1515
### Configuring the Service Provider
1616

17-
Open config/app.php and register the required service provider above your application providers.
17+
On Laravel 5.5, the package discovery will configure the service provider automatically.
18+
19+
On Laravel 5.4, open config/app.php and register the required service provider above your application providers.
1820

1921
```php
2022
'providers' => [

0 commit comments

Comments
 (0)