PHP code example of bespoke-support / sms-voodoo

1. Go to this page and download the library: Download bespoke-support/sms-voodoo 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/ */

    

bespoke-support / sms-voodoo example snippets


$response = VoodooSmsClient::call('sendSms', $user, $pass, 'Sender', '07998877666', 'Test Message');

$client = VoodooSmsClient::getInstance($user, $pass);
$response = $client->sendSms($from, $to, $message);

$to:
* array
* object (with __toString)
* string
* int
* comma separated string

$from:
* Number
* Text (upto 11 characters)

$response = VoodooSmsClient::call('getSms', $user, $pass, '2016-01-01', '2016-07-31');