-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
31 additions
and
18 deletions.
There are no files selected for viewing
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
### Installation | ||
|
||
For Laravel < 5.5 add provider to config/app.php | ||
```php | ||
MatviiB\Notifier\NotifierServiceProvider::class, | ||
``` | ||
|
||
For publish all files run: | ||
```sh | ||
php artisan vendor:publish | ||
``` | ||
and choose "Provider: MatviiB\Notifier\NotifierServiceProvider" if requested. | ||
|
||
Publish just config: | ||
```sh | ||
php artisan vendor:publish --provider=NotifierServiceProvider --tag=config | ||
``` | ||
|
||
Publish just js to resources folder: | ||
```sh | ||
php artisan vendor:publish --provider=NotifierServiceProvider --tag=resources | ||
``` | ||
Publish just js to public folder: | ||
```sh | ||
php artisan vendor:publish --provider=NotifierServiceProvider --tag=public | ||
``` | ||
Add worker daemon for ```php artisan notifier:init``` process with Supervisor. | ||
|
||
Add published js file to your view or layout. | ||
|
||
Done! |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.