Download the PHP package powertic/utalk-notification-channel without Composer
On this page you can find all versions of the php package powertic/utalk-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download powertic/utalk-notification-channel
More information about powertic/utalk-notification-channel
Files in powertic/utalk-notification-channel
Package utalk-notification-channel
Short Description Utalk Laravel Notifications Channel
License MIT
Homepage https://github.com/powerticmkt/laravel-utalk-notification-channel
Informations about the package utalk-notification-channel
Utalk notification channel for Laravel
This package makes it easy to send Utalk messages using the Laravel notification system. Supports 5.5+, 6.x, 7.x and 8.x.
Contents
- Installation
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Setup
Add your Utalk token on app/services.php
file. You can get your API Token here.
You need to create a UTALK_TOKEN
on your .env
file.
Usage
Now you can use the channel in your via()
method inside the notification:
In order to let your Notification know which number should receive the message, add the routeNotificationForUtalk
method to your Notifiable model.
This method expects a valid E.164 mobile number where the notification will be sent.
Available methods
message('Hello World!')
: Accepts a string as message to send.
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
- Luiz Eduardo (@luizeof)
- Powertic
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of utalk-notification-channel with dependencies
guzzlehttp/guzzle Version ^6.2 || ^7.0
illuminate/notifications Version ^6.0 || ^7.0 || ^8.0
illuminate/support Version ^6.0 || ^7.0 || ^8.0
propaganistas/laravel-phone Version ^4.2