Laravel based package for AfricansTalkGateway API
dev-maurice/africans-talk-gateway is a Laravel package for laravel based package for africanstalkgateway api.
It currently has 1 GitHub stars and 0 downloads on Packagist.
Install it with composer require dev-maurice/africans-talk-gateway.
Discover more Laravel packages by dev-maurice
or browse all Laravel packages to compare alternatives.
Last updated
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.