PHP code example of benmorel / clickatell

1. Go to this page and download the library: Download benmorel/clickatell library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

benmorel / clickatell example snippets


$client = new Clickatell\ClickatellClient('api-id', 'username', 'password');
$client->authenticate();
$client->send('441234567890', 'Hello world');

$client = new Clickatell\ClickatellClient('api-id', 'username', 'password', 'sender-id');

$client->send('441234567890', 'Hello world', 'sender-id');