Download the PHP package toneflix-code/kudisms-notification without Composer
On this page you can find all versions of the php package toneflix-code/kudisms-notification. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download toneflix-code/kudisms-notification
More information about toneflix-code/kudisms-notification
Files in toneflix-code/kudisms-notification
Package kudisms-notification
Short Description KUDI SMS Notifications Driver for Laravel.
License MIT
Homepage https://github.com/toneflix-code/kudi-notification
Informations about the package kudisms-notification
KUDI SMS Notifications channel for Laravel
This package makes it easy to send KudiSMS notifications with Laravel 8.x, 9.x & 10.x
Contents
- Installation
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Configuration
Add your KudiSMS Account token, SenderId, and CallerId (optional) to your .env
:
Advanced configuration
Run php artisan vendor:publish --provider="ToneflixCode\KudiSmsNotification\KudiSmsProvider"
Usage
Now you can use the channel in your via()
method inside the notification:
You can also create a Kudi voice call:
Or create a Kudi Text To Speach call:
In order to let your Notification know which phone are you sending/calling to, the channel will look for the phone_number
attribute of the Notifiable model. If you want to override this behaviour, add the routeNotificationForKudiSms
method to your Notifiable model.
Available Message methods
KudiSmsMessage
senderId('')
: Accepts a registered SenderId to use as the notification sender.message('')
: Accepts a string value for the notification body.
KudiSmsVoiceMessage
callerId('')
: Accepts a registered CallerId to use as the notification sender.url('')
: Accepts a url of a publicly available audio file.
KudiSmsTTSMessage
callerId('')
: Accepts a registered CallerId to use as the notification sender.message('')
: Accepts a string value for the notification body.
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
- Legacy
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of kudisms-notification with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/notifications Version ^9.0|^10.0|^11.0
illuminate/support Version ^9.0|^10.0|^11.0
toneflix-code/kudi-sms-php Version ^1.0