Download the PHP package chitranu/textlocal-laravel-notification-channel without Composer
On this page you can find all versions of the php package chitranu/textlocal-laravel-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chitranu/textlocal-laravel-notification-channel
More information about chitranu/textlocal-laravel-notification-channel
Files in chitranu/textlocal-laravel-notification-channel
Package textlocal-laravel-notification-channel
Short Description Textlocal SMS Notification channel for Laravel
License MIT
Homepage https://github.com/chitranu/textlocal-laravel-notification-channel
Informations about the package textlocal-laravel-notification-channel
Textlocal notification channel for Laravel
This package makes it easy to send notifications using Textlocal with Laravel framework.
Contents
- Installation
- Setting up the Textlocal service
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Setting up the Textlocal SMS service
Add your Textlocal API key and sender 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, mobile, phone_number or full_phone attribute of the
Notifiable model. If you want to override this behaviour, add the
routeNotificationForTextlocal method to your Notifiable model.
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
- Swapnil Bhavsar
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of textlocal-laravel-notification-channel with dependencies
illuminate/notifications Version ~5.5 || ~6.0 || ~7.0 || ~8.0
illuminate/support Version ~5.5 || ~6.0 || ~7.0 || ~8.0