A PHP API for sending SMS messages using the Clickatell XML API.
PHP
Switch branches/tags
Nothing to show
Latest commit 11db7e5 Feb 26, 2013 @samuelwilliams Moved file.
Permalink
Failed to load latest commit information.
lib/Badcow/Clickatell Moved file. Feb 26, 2013
.gitignore Using composer. Feb 26, 2013
LICENSE Rewrote the class to be more pretty. Sep 22, 2012
README.md Added comma for grammar reasons. Oct 14, 2012
composer.json Using composer. Feb 26, 2013

README.md

Badcow Clickatell PHP API

This is an API for use with the Clickatell SMS service. It allows the sending of a single message to multiple numbers.

The script uses the Clickatell XML API, you will need to subscribe to a Clickatell account to use this API.

Example

require_once __DIR__ . '/Clickatell/Clickatell.php';

use Badcow\Clickatell\Clickatell;

$clickatell = new Clickatell('1234567', 'username', 'password');

$clickatell->authenticate()
    ->addNumbers(array(
        '19991234567',
        '19997654321',
    ))
    ->setFrom('Sam Williams')
    ->setMessage('Hello, this is a test message')
    ->sendSMS();