Skip to content

Commit d6e0385

Browse files
authored
Merge pull request #16 from ricardovanlaarhoven/patch-1
add package discovery laravel 5.5+
2 parents fa9df52 + a84dabe commit d6e0385

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You can install the package via composer:
3737
composer require laravel-notification-channels/messagebird
3838
```
3939

40-
You must install the service provider:
40+
for Laravel 5.4 or lower, you must add the service provider to your config:
4141

4242
```php
4343
// config/app.php

composer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,12 @@
3838
"config": {
3939
"sort-packages": true
4040
},
41-
"minimum-stability": "dev"
41+
"minimum-stability": "dev",
42+
"extra": {
43+
"laravel": {
44+
"providers": [
45+
"NotificationChannels\\Messagebird\\MessagebirdServiceProvider"
46+
]
47+
}
48+
}
4249
}

0 commit comments

Comments
 (0)