Downloads
Stars
Version
This is a laravel 5.. package to support AfricansTalkingGateway API. To use it make sure you have a username and an APIkey from their website.
Enjoy.
Via Composer
$ composer require DevMaurice/AfricansTalkGateway
The add the following in config/app.php
DevMaurice\AfricansTalkGateway\AfricansTalkGatewayServiceProvider::class,
'Africas' => DevMaurice\AfricansTalkGateway\Facade\AfricasFacade::class,
Add
afriname=USERNAME //your password from website
api_key=48abcdefghd1 //your apikey
in your .env file first
Use the AfricansTalkingGateway(https://www.africastalking.com/) api documentation for methods reference.
Example
Africas::sendMessage('+2547XXXXXXXX', 'Trying out sending message');
where +2547XXXXXXXX is your phone number.
Please see CHANGELOG for more information what has changed recently.
Pull request and contribute.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.