1. Go to this page and download the library: Download descom/sms-php 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/ */
descom / sms-php example snippets
$sms = new Sms(new AuthUser('your_username', 'your_password'));
$message = new Message();
$message->addTo('mobile_number')->setText('message_text');
$result = $sms->addMessage($message)
->setDryrun(true)
->send();