Download the PHP package msonowal/laravel-notification-channel-textlocal without Composer
On this page you can find all versions of the php package msonowal/laravel-notification-channel-textlocal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download msonowal/laravel-notification-channel-textlocal
More information about msonowal/laravel-notification-channel-textlocal
Files in msonowal/laravel-notification-channel-textlocal
Package laravel-notification-channel-textlocal
Short Description Textlocal Notifications Channel for Laravel
License MIT
Homepage https://github.com/laravel-notification-channels/textlocal
Informations about the package laravel-notification-channel-textlocal
This package allows to send SMS using Textlocal API using laravel notifications channel textlocal sms
Supports Laravel 5.5 upto 10.x
This package makes it easy to send notifications using textlocal with Laravel 5.3.+
To use version ^2.3.0 onwards will require PHP 8.0
for other PHP version use upto ^2.2.0
Contents
- Installation
- Setting up the textlocal service
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
Create an account in textlocal then create an API key or hash(password).
composer require msonowal/laravel-notification-channel-textlocal
Setting up the textlocal service
default config textlocal.php
update where desired
Important Either specify a Key OR a Hash - don't enter both!
TEXTLOCAL_USERNAME=Your email id or api key
TEXTLOCAL_HASH=get it from url '/docs/' under your API KEYS section
TEXTLOCAL_API_KEY get it from url '/docs/' under your API KEYS section
TEXTLOCAL_SENDER=Name of the Sender that will be displayed to the recipient (max 6 Characters).
TEXTLOCAL_COUNTRY=Your Two letter(ISO-3166-alpha-2) Country Code. It should be the Country of the TEXTLOCAL account. defaults to IN
php artisan vendor:publish --tag=textlocal
public function getSenderId($notifiable) { return 'YOUR_SENDER_ID'; }
public function getUnicodeMode() { return true; } bash $ composer test
## Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
# Found any bugs or improvement open an issue or send me a PR
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Credits
- [Manash Jyoti Sonowal](https://github.com/msonowal)
- [Mr Ejang](https://github.com/tomonsoejang)
- [Sinadh](https://github.com/tsainadh)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## TODO
Need to convert to Guzzle Http as a Client in core
Add more countries
add tests
All versions of laravel-notification-channel-textlocal with dependencies
ext-json Version *
illuminate/notifications Version ~5.5|~6.0|~7.0|~8.0|~9.0|~10.0|~11.0
illuminate/support Version ~5.5|~6.0|~7.0|~8.0|~9.0|~10.0|~11.0