PHP code example of lixunguan / yuntongxun
1. Go to this page and download the library: Download lixunguan/yuntongxun 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/ */
lixunguan / yuntongxun example snippets
use Lixunguan\Yuntongxun\Sdk as Yuntongxun;
$sdk = new Yuntongxun('应用ID', '账户ID', 'token');
$sms = $sdk->sendTemplateSMS('15900000000', array('1252'), 1484);
print_r($sms);