Skip to content

Commit d2003f7

Browse files
committed
Add package discovery
1 parent 972fac8 commit d2003f7

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ All Notable changes to `laravel-notification-channels/webpush` will be documente
44

55
## 2.0.0 - 2017-10-23
66

7+
- Added support for package discovery.
78
- Removed compatibility with PHP<7 and upgrade deps.
89

910
## 1.0.0 - 2017-03-25

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You can install the package via composer:
1919
composer require laravel-notification-channels/webpush
2020
```
2121

22-
First you must install the service provider:
22+
First you must install the service provider (skip for Laravel>=5.5):
2323

2424
``` php
2525
// config/app.php

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@
3232
"NotificationChannels\\WebPush\\Test\\": "tests"
3333
}
3434
},
35+
"extra": {
36+
"laravel": {
37+
"providers": [
38+
"NotificationChannels\\WebPush\\WebPushServiceProvider"
39+
]
40+
}
41+
},
3542
"config": {
3643
"sort-packages": true
3744
},

0 commit comments

Comments
 (0)