Download the PHP package m-shule/africastalking without Composer
On this page you can find all versions of the php package m-shule/africastalking. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download m-shule/africastalking
More information about m-shule/africastalking
Files in m-shule/africastalking
Package africastalking
Short Description AfricasTalking notifications driver for Laravel 5.3+
License MIT
Homepage https://github.com/m-shule/africastalking
Informations about the package africastalking
AfricasTalking notifications channel for Laravel 5.3+
This package makes it easy to send notifications using AfricasTalking with Laravel 5.3+.
Contents
- Requirements
- Installation
- Setting up the AfricasTalking service
- Usage
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Requirements
- Sign up for a free AfricasTalking account
- Create a new API Key under Settings in the Sandbox section
Installation
You can install the package via composer:
for Laravel 5.4 or lower, you must add the service provider to your config:
Setting up the AfricasTalking service
Add the environment variables to your config/services.php
:
Add your AfricasTalking API key, username, and from number/short code to your .env
:
The from variable is optional.
Usage
Now you can use the channel in your via()
method inside the notification:
Additionally you can set from which short code/alphanumeric your message originates from by:
You can also send a notification to someone who is not stored as a "user" by:
Changelog
Please see CHANGELOG for more information what has changed recently.
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
- M-Shule
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of africastalking with dependencies
africastalking/africastalking Version ^2.0|^3.0
illuminate/notifications Version ^5.3|^6.0|^7.0|^8.0
illuminate/support Version ^5.3|^6.0|^7.0|^8.0