Skip to content
A PHP API for sending SMS messages using the Clickatell XML API.
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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.


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

use Badcow\Clickatell\Clickatell;

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

    ->setFrom('Sam Williams')
    ->setMessage('Hello, this is a test message')
Something went wrong with that request. Please try again.