2017 © Pedro Peláez
 

library laravel-push-notification

Push Notifications using Laravel

image

webelightdev/laravel-push-notification

Push Notifications using Laravel

  • Wednesday, June 21, 2017
  • by yashbarot
  • Repository
  • 3 Watchers
  • 11 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 47 % Grown

The README.md

laravel-push-notification

Latest Stable Version Latest Unstable Version Scrutinizer Code Quality Total Downloads License, (*1)

Push Notifications using Laravel, (*2)

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:, (*3)

composer require webelightdev/laravel-push-notification dev-master

Or, you may manually update require block and run composer update, (*4)

"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, (*5)

Webelightdev\LaravelPushNotification\PushNotificationServiceProvider::class,

composer dump-autoload will be required., (*6)

To publish the Config, Migration, Service Provider and Facades, (*7)

php artisan vendor:publish

Finally, run migration to generate Notification Log table, (*8)

php artisan migrate

Latest snapshot of Push Notification for one of our client using laravel-push-notification plugin img, (*9)

License

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

The Versions

21/06 2017

dev-master

9999999-dev

Push Notifications using Laravel

  Sources   Download

MIT

The Requires

  • php ^7.0

 

by Yash Barot