Download the PHP package thinkstudeo/textlocal-notification-channel without Composer
On this page you can find all versions of the php package thinkstudeo/textlocal-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thinkstudeo/textlocal-notification-channel
More information about thinkstudeo/textlocal-notification-channel
Files in thinkstudeo/textlocal-notification-channel
Package textlocal-notification-channel
Short Description Laravel notification channel for Textlocal Api
License MIT
Homepage https://github.com/thinkstudeo/textlocal-notification-channel
Informations about the package textlocal-notification-channel
Textlocal Notification Channel for Laravel 5.6+.
This package makes it easy to send notifications using Textlocal with Laravel 5.6+
Supports using both Transactional and Promotional accounts with Textlocal at the same time.
Contents
- Textlocal Notification Channel for Laravel 5.6+.
- Contents
- Installation
- Setting up the Textlocal service
- Usage
- Using Textlocal Promotional Account
- Using Textlocal Transactional Account
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
Taking advantage of automatic package discovery available since Laravel 5.5, the service provider will be registered automatically.
Setting up the Textlocal service
Add your textlocal accounts, api url and credentials in the config/services.php
file.
The url is required to be set in the config file because, textlocal has different urls for different countries.
Atleast for India, its different. https://api/textlocal.in/send/
Don't forget to add the keys to your .env
file
Usage
To use the channel, include the NotificationChannels\Textlocal\TextlocalChannel
class in the via()
method of your notification class.
Using Textlocal Promotional Account
Using Textlocal Transactional Account
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Fill in the env
values in the phpunit.xml.dist
. The tests depends on these values.
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
- Neerav Pandya
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of textlocal-notification-channel with dependencies
illuminate/notifications Version 5.6.*|5.7.*|5.8.*
illuminate/support Version 5.6.*|5.7.*|5.8.*
guzzlehttp/guzzle Version ^5.0|^6.0