Download the PHP package johnturingan/route-mobile-laravel-notifications without Composer
On this page you can find all versions of the php package johnturingan/route-mobile-laravel-notifications. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download johnturingan/route-mobile-laravel-notifications
More information about johnturingan/route-mobile-laravel-notifications
Files in johnturingan/route-mobile-laravel-notifications
Package route-mobile-laravel-notifications
Short Description RouteMobile Notification Channel for laravel.
License MIT
Informations about the package route-mobile-laravel-notifications
route-mobile-laravel-notifications
A laravel package for sending notifications via route-mobile service.
Installation :traffic_light:
Add the package to your composer.json
Or just run composer require
Config :page_facing_up:
To use this plugin, you need to add the following configuration to your config/services.php file
Usage :white_check_mark:
For full documentation, please refer to Laravel Notification Docs
Sending Notification
To send notification you can use the Laravel Notification Facade and pass the viber mobile number as the first parameter
Formatting Viber Notification
If a notification supports being sent as a Routemobile Viber message, you should define a toRMLViber method on the notification class. This method will receive a $notifiable entity and should return an Snp\Notifications\Rml\Messages\ViberMessage instance. Let's take a look at a basic toRMLViber example:
NOTE:
If you find any bugs or you have some ideas in mind that would make this better. Please don't hesitate to create a pull request.
If you find this package helpful, a simple star is very much appreciated.
MIT LICENSE
copyright © 2022 Scripts and Pixels.
All versions of route-mobile-laravel-notifications with dependencies
guzzlehttp/guzzle Version ^6.0|^7.0
illuminate/notifications Version ~5.8.0|^6.0|^7.0|^8.0|^9.0