1. Go to this page and download the library: Download yjc/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/ */
yjc / sms example snippets
php
$sms = new \Yjc\Sms\Jsms('appkey', 'masterkey');
$sms->send($mobile, 'temp_id');
php
$sms = new \Yjc\Sms\Ucpaas('token', 'appid', 'accountsid');
$sms->send($mobile, $temp_id, $params);
php
$sms = new \Yjc\Sms\RongSms();
$sms->send($mobile, $temp_id, $params);
php
$sms = new \Yjc\Sms\AliSms();
$sms->send($mobile, $temp_id, $params , $sign_name);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.