dev-maurice/africans-talk-gateway

Laravel based package for AfricansTalkGateway API

Downloads

0

Stars

1

Version

Laravel AfricansTalkingGateway Package

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.

Install

Via Composer

$ composer require DevMaurice/AfricansTalkGateway

The add the following in config/app.php

 DevMaurice\AfricansTalkGateway\AfricansTalkGatewayServiceProvider::class,
'Africas'   => DevMaurice\AfricansTalkGateway\Facade\AfricasFacade::class,

Usage

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.

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Pull request and contribute.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

DevMaurice

Author

DevMaurice