Skip to content

Commit

Permalink
Added service provider to docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreshg112 committed Mar 19, 2019
1 parent b2d99df commit 74e96bb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ $ composer require laravel-notification-channels/pusher-api-notifications

This package requires [pusher/pusher-http-laravel ^4.2](https://github.com/pusher/pusher-http-laravel), so after installing this, you have to [configure it](https://github.com/pusher/pusher-http-laravel#configuration).

> If your using Laravel ^5.5, don't worry about adding the service provider to your `config/app.php` file because this package uses [Laravel Package Discovery](https://laravel.com/docs/5.8/packages#package-discovery). If don't, you have to add it:
```php
'providers' => [
// ...,
NotificationChannels\PusherApiNotifications\PusherApiServiceProvider::class,
],
```

## Usage

> This is a third-party Laravel Notification Package, so you should know how to use Notifications in Laravel before using this. Docs can be found here: https://laravel.com/docs/master/notifications.
Expand Down

0 comments on commit 74e96bb

Please sign in to comment.