dev-maurice/africans-talk-gateway

Laravel based package for AfricansTalkGateway API

dev-master 2016-02-26 11:49 UTC

This package is not auto-updated.

Last update: 2024-11-09 19:51:03 UTC


README

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 developermaurice@gmail.com instead of using the issue tracker.

License

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