Download the PHP package dash8x/dhiraagu-sms-notification without Composer
On this page you can find all versions of the php package dash8x/dhiraagu-sms-notification. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package dhiraagu-sms-notification
Dhiraagu Bulk SMS Notification Channel for Laravel 5.3+
This package makes it easy to send notifications using Dhiraagu Bulk SMS Gateway with Laravel 5.3.
Contents
- Installation
- Setting up the Dhiraagu Bulk Sms Gateway credentials
- Usage
- Available Message methods
- Checking delivery status
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
- Disclaimer
Installation
You can install the package via composer:
Add the service provider (only required on Laravel 5.4 or lower):
Optionally add the facade.
Setting up the Dhiraagu Bulk Sms Gateway credentials
Add your Dhiraagu Bulk SMS Gateway Account Username, Password, and Url (optional) to your config/services.php
:
Usage
Now you can use the channel in your via()
method inside the notification:
In order to let your Notification know which phone are you sending to, the channel will look for the phone_number attribute of the Notifiable model. If you want to override this behaviour, add the routeNotificationForDhiraagu method to your Notifiable model.
It also supports sending to multiple phone numbers.
Available Message methods
DhiraaguSmsNotificationMessage
setNumbers('')
: Accepts phone numbers to use as the notification recipients.setMessage('')
: Accepts a string value for the notification body.getNumbers()
: Returns the recipients.getMessage()
: Returns the string value of the notification body.
Checking delivery status
To proccess any laravel notification channel response check Laravel Notification Events
This channel returns a DhiraaguSmsMessage
response object.
Check dash8x/dhiraagu-sms for Delivery Status Checking Documentation.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
Disclaimer
This package is not in any way officially affiliated with Dhiraagu. The "Dhiraagu" name has been used under fair use.
All versions of dhiraagu-sms-notification with dependencies
dash8x/dhiraagu-sms Version ^0.4.0
illuminate/notifications Version ~5.5 || ~6.0 || ~7.0 || ~8.0 || ~9.0 || ^10.0 || ^11.0
illuminate/support Version ~5.1 || ~6.0 || ~7.0 || ~8.0 || ~9.0 || ^10.0 || ^11.0