This is an unofficial package for the codel bulk sms (also known as 2waychat.com).
This version interacts with the Codel Sms API and does not provide any additional functions.
To install and use this library, you'll need to have composer installed. After that, you can install this library with the following composer command:
composer require immachakata/codelsms
Initialize an sms instance as follows:
use IsaacMachakata\CodelSms\Sms;
use IsaacMachakata\CodelSms\Client;
$client = new Client($apiToken);
$sms = Sms::new('263771000000','Your message goes here...');
$response = $client->send($sms);
if($response->isOk()){
// Sip some coffee
} else {
// Scratch your head
}