1. Go to this page and download the library: Download cyaoz94/sms123 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/ */
cyaoz94 / sms123 example snippets
t
Sms123Facade::sendSms($contactNumber, $messageContent, $referenceId); // send sms
Sms123Facade::addTemplate($templateTitle, $messageContent, $referenceId); // add template
Sms123Facade::getBalance(); // get balance
t
CredentialsException; // when credentials are missing
SmsApiException; // something went wrong when calling sms123 API