Download the PHP package tjmugova/bluedot-sms without Composer
On this page you can find all versions of the php package tjmugova/bluedot-sms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tjmugova/bluedot-sms
More information about tjmugova/bluedot-sms
Files in tjmugova/bluedot-sms
Package bluedot-sms
Short Description Provides BluedotSms notification channel for Laravel
License MIT
Informations about the package bluedot-sms
bluedot-mobile-laravel-notifications
A laravel package for sending notifications via bluedot-mobile service.
Installation :traffic_light:
Add the package to your composer.json
Or just run composer require
Configuration
Add your Bluedot API ID, API Password, API Url, and From Number to your .env
:
Advanced configuration
Run php artisan vendor:publish --provider="Tjmugova\BluedotSms\BluedotSmsProvider"
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 mobile number as the first parameter
Formatting Viber Notification
If a notification supports being sent as a Bluedot message, you should define a toBluedotSms 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
All versions of bluedot-sms with dependencies
illuminate/notifications Version ^8.0 || ^9.0 || ^10.0
illuminate/support Version ^8.0 || ^9.0 || ^10.0
illuminate/events Version ^8.0 || ^9.0 || ^10.0
illuminate/queue Version ^8.0 || ^9.0 || ^10.0