💬一信通短信 SDK
E易信通短信 SDK。
$ composer require isecret/sms -vvv
use Isecret\Sms\Sms;
$config = [
'timeout' => 5.0,
'account' => [
'spcode' => null,
'loginname' => null,
'password' => null
],
'log_path' => '/tmp/sms.log'
];
$sms = new Sms($config);
$sms->send('18888888888', '您的验证码是 123456,10 分钟内有效');
You can contribute in one of three ways:
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
MIT