SMS Alert PHP library for sending transactional/promotional SMS, through your custom code. Easy to integrate, just write 2 lines of code to send SMS.
To send SMS you need an account on SMS Alert, if you do not have an account, signup for a free demo account, to test the service, then after you can purchase credits to use it in your application.
You can install smsalert/php-sdk via composer or by downloading the source.
smsalert/php-sdk is available on Packagist as the
smsalert/php-sdk
package:
composer require smsalert/php-sdk
SMSALERT_USER : username of your smsalert account
SMSALERT_PWD : password of your smsalert account
MOBILENO : single or multiple mobile numbers (seperated by comma), with or without country code
TEXT : message content to be sent
SCHEDULE : future schedule date and time when you wish to send sms
include("vendor/autoload.php");
use SMSAlert\Lib\Smsalert\Smsalert;
$SMSALERT_USER = ''; //change here
$SMSALERT_PWD = ''; //change here
$smsalert = (new Smsalert())
->authWithUserIdPwd($SMSALERT_USER,$SMSALERT_PWD);
$MOBILENO = ''; //change here
$TEXT = ''; //change here
$smsalert->setSender('CVDEMO')
->send($MOBILENO, $TEXT);
$MOBILENO = ''; //change here
$TEXT = ''; //change here
$SCHEDULE = ''; //change here
$smsalert->setSender('CVDEMO')
->send($MOBILENO, $TEXT, $SCHEDULE);
$smsalert->setRoute('transactional');
$smsalert->setSender('CVDEMO');
$smsalert->setForcePrefix('91');
Email : support@cozyvision.com
Phone : (+91)-80-1055-1055