An API client for sending SMSs via the TotalSend API
composer require masterstart/php-totalsend-sms
$username = 'your_username';
$password = 'your_password'; // or api token
$guzzleClient = new \GuzzleHttp\Client();
$client = new \MasterStart\TotalSendSMS\TotalSendSMSClient($guzzleClient, $username, $password);
s
$response = $client->sendMessage('+27000000000', 'This is a test message.');
var_dump($response);