PHP code example of yisu-cloud / sms
1. Go to this page and download the library: Download yisu-cloud/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/ */
yisu-cloud / sms example snippets
use yisu\sms\YisuSms;
$config = [
'access_id'=>'your yisuyun accessId',
'access_secret'=>'your yisuyun accessSecret'
];
$sms = new YisuSms($config);
$res = $sms->query('1830668xxxx', '2020-05-01', '2020-05-05', 1, 50);