Package Data | |
---|---|
Maintainer Username: | yashbarot |
Maintainer Contact: | yashce04@gmail.com (Yash Barot) |
Package Create Date: | 2017-05-24 |
Package Last Update: | 2019-08-07 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-09 15:17:28 |
Package Statistics | |
---|---|
Total Downloads: | 293 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 28 |
Total Watchers: | 6 |
Total Forks: | 10 |
Total Open Issues: | 0 |
Push Notifications using Laravel
PushNotification::send(['deviceToken1', 'deviceToken2',..], 'Notification Message', 'Action Key');
To get the latest version of Laravel Push Notification, run following using composer
:
composer require webelightdev/laravel-push-notification dev-master
Or, you may manually update require block and run composer update
"require": {
"webelightdev/laravel-push-notification": "dev-master"
}
Once Laravel Push Notification is installed, You need to register the Service Provider in config/app.php
,
Add following in providers
list
Webelightdev\LaravelPushNotification\PushNotificationServiceProvider::class,
composer dump-autoload
will be required.
To publish the Config, Migration, Service Provider and Facades
php artisan vendor:publish
Finally, run migration to generate Notification Log table
php artisan migrate
Latest snapshot of Push Notification for one of our client using laravel-push-notification plugin
The MIT License (MIT). Please see License File for more information.