File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -7,27 +7,43 @@ Installation
77----
88
99Update your ` composer.json ` file to include this package as a dependency
10+
11+ Laravel 5
12+
13+ ``` json
14+ "davibennun/laravel-push-notification" : " dev-laravel5"
15+ ```
16+ Laravel 4.*
1017``` json
1118"davibennun/laravel-push-notification" : " dev-master"
1219```
1320
14- Register the PushNotification service provider by adding it to the providers array in the ` app/config/app.php ` file .
21+ Register the PushNotification service provider by adding it to the providers array.
1522``` php
1623'providers' => array(
17- Davibennun\LaravelPushNotification\LaravelPushNotificationServiceProvider
24+ ...
25+ 'Davibennun\LaravelPushNotification\LaravelPushNotificationServiceProvider'
1826)
1927```
2028
2129Alias the PushNotification facade by adding it to the aliases array in the ` app/config/app.php ` file.
2230``` php
2331'aliases' => array(
24- 'PushNotification' => 'Davibennun\LaravelPushNotification\Facades\PushNotification'
32+ ...
33+ 'PushNotification' => 'Davibennun\LaravelPushNotification\Facades\PushNotification'
2534)
2635```
2736
2837# Configuration
2938
3039Copy the config file into your project by running
40+
41+ Laravel 5
42+ ``` php
43+ php artisan vendor:publish --provider="Davibennun\LaravelPushNotification\LaravelPushNotificationServiceProvider" --tag="config"
44+ ```
45+
46+ Laravel 4.*
3147```
3248php artisan vendor:publish --provider="Vendor/Davibennun/LaravelPushNotification/LaravelPushNotificationServiceProvider" --tag="config"
3349```
You can’t perform that action at this time.
0 commit comments