Skip to content

Africa's Talking PHP Library modified for Codeigniter.

Notifications You must be signed in to change notification settings

Amuri-Bonface/ci-africastalking

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

ci-africastalking

ci-africastalking is a Codeigniter Library for AfricasTalking API forked from Mwangangi's repository.

Installation

  • Download the ZIP file
  • Move config/africastalking.php into your CI config directory
  • Move the third_party/AfricasTalkingGateway.php into your CI third_party directory or download a fresh copy from the Official Docs page.
  • Move the library into your library folder.
  • Update the africastalking.php config file with your correct setings

Usage

Loading the library:

$this->load->library('africastalking');

Calling Gateway methods from within your Controllers:

//Using the default sender ID

$this->africastalking->sendMessage($recipients, $message);

//Send using custom SenderId

$this->africastalking->sendMessage($recipients, $message,$sender_id); etc

Bugs And Feature Requests

Kindly open a new issue here iff none already exists.

Todo:

  • Convert the library into a wrapper to allow for easier more robust integration
  • Add queueing of calls, sms, airtime, payments, checking airtime balance, etc
  • Error checking:- Checking if curl is installed, etc

Big thanks to Mwangangi and the amazing team at Africa's Talking

About

Africa's Talking PHP Library modified for Codeigniter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • PHP 100.0%