This class is for PHP applications wanting to utilise the SMS Broadcast SMS gateway.
Using this class you can:
- Check SMS credit balance of an account.
- Send SMSs to single and multiple recipients.
Todo:
- Message Status Updates
- Inbound SMS Messages
<?php
// Initialise API object with username and password.
$api = new smsbroadcastau($username, $password);
// Check account balance.
$available_credits = $api->checkBalance();
// Send an SMS.
$api->addRecipient('0400000000');
$api->message = 'Message to send to recipients';
$api->sender = 'SMS API';
$api->send();
Distributed under MIT license. See LICENSE for details.