PHP code example of lichv / clsms
1. Go to this page and download the library: Download lichv/clsms 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/ */
lichv / clsms example snippets
ult = \Clsms\Sms::getInstance(['account'=>'myaccount','password'=>'mypasspord'])->send(['to'=>'15812345678','content'=>'亲爱的用户,您的活动验证码是123456,感谢您的参与此次活动。']);