Skip to content

Commit be51517

Browse files
committed
Add Laravel 5.5 Auto Discovery
1 parent 58b0fcd commit be51517

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This package can be installed through Composer.
1414
composer require benwilkins/laravel-fcm-notification:@dev-master
1515
```
1616

17-
Once installed, add the service provider:
17+
If installing on < Laravel 5.5 then add the service provider:
1818

1919
```php
2020
// config/app.php

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,12 @@
1515
"psr-4": {
1616
"Benwilkins\\FCM\\": "src/"
1717
}
18+
},
19+
"extra": {
20+
"laravel": {
21+
"providers": [
22+
"Benwilkins\\FCM\\FcmNotificationServiceProvider"
23+
]
24+
}
1825
}
1926
}

0 commit comments

Comments
 (0)