PHP code example of verifiedit / clicksend-sms

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

    

verifiedit / clicksend-sms example snippets


$messages = new \Verifiedit\ClicksendSms\SMS\Messages();
$messages->add((new \Verifiedit\ClicksendSms\SMS\Message('Test'))->setTo('+61411111111'));

$client = \Verifiedit\ClicksendSms\ClicksendClient::make('[email protected]', 'secret')
$sms = new \Verifiedit\ClicksendSms\SMS\SMS($client);

$response = $sms->send($messages);