webelightdev/laravel-push-notification

Push Notifications using Laravel
295 29
Install
composer require webelightdev/laravel-push-notification
Latest Version:1.0.1
PHP:^7.0
License:MIT
Last Updated:Aug 7, 2019
Links: GitHub  ·  Packagist
Maintainer: yashbarot

laravel-push-notification

Latest Stable Version Latest Unstable Version Scrutinizer Code Quality Total Downloads License

Push Notifications using Laravel

PushNotification::send(['deviceToken1', 'deviceToken2',..], 'Notification Message', 'Action Key');
  • Param1 [Device Tokens] - Send Notification to single/mutiple devices.
  • Param2 [Notification Message] - Notification Message that will display on mobile notification tray.
  • Param3 [Action Key] - Action key is the helper to redirect user to any page in Mobile app on notificaiton touch.

Installation

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 img

License

The MIT License (MIT). Please see License File for more information.

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

628,058,007 9,707
laravel/framework

The Laravel Framework.

576,155,700 34,907
laravel/tinker

Powerful REPL for the Laravel framework.

485,678,092 7,440