Skip to content

Commit e5d320d

Browse files
committed
Add package auto-discovering
1 parent 00055fb commit e5d320d

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
@@ -31,7 +31,7 @@ You can install the package via composer:
3131
composer require laravel-notification-channels/twilio
3232
```
3333

34-
You must install the service provider:
34+
Add the service provider (only required on Laravel 5.4 or lower):
3535

3636
```php
3737
// config/app.php

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,12 @@
3838
},
3939
"config": {
4040
"sort-packages": true
41+
},
42+
"extra": {
43+
"laravel": {
44+
"providers": [
45+
"NotificationChannels\\Twilio\\TwilioProvider"
46+
]
47+
}
4148
}
4249
}

0 commit comments

Comments
 (0)