PHP code example of necessarylion / thsms-sdk
1. Go to this page and download the library: Download necessarylion/thsms-sdk 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/ */
necessarylion / thsms-sdk example snippets
use Necessarylion\THSMS;
=> '',
'password' => '',
'sender' => 'OTP',
]);
$result = $sms->sent('0123456789', 'Swadee!');
print_r($result);