Skip to content

Commit

Permalink
Update readme with Auto-discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
Edujugon committed Oct 29, 2017
1 parent ae6e8bb commit a721aaf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,18 @@ composer require edujugon/push-notification

## Laravel 5.*

Register the PushNotification service by adding it to the providers array.
**Laravel 5.5 or higher?**

Then you don't have to either register or add the alias, this package uses Package Auto-Discovery's feature, and should be available as soon as you install it via Composer.

(Laravel < 5.5) Register the PushNotification service by adding it to the providers array.

'providers' => array(
...
Edujugon\PushNotification\Providers\PushNotificationServiceProvider::class
)

Let's add the Alias facade, add it to the aliases array.
(Laravel < 5.5) Let's add the Alias facade, add it to the aliases array.

'aliases' => array(
...
Expand Down

0 comments on commit a721aaf

Please sign in to comment.