laoqianjunzi / snowflake
snowflake for thinkphp
1.0
2023-09-19 03:06 UTC
Requires
- php: >=5.5
This package is not auto-updated.
Last update: 2024-10-02 06:44:18 UTC
README
The ThinkPHP5 sms
安装
一、执行命令安装
composer require laoqianjunzi/sms
或者
二、安装
安装
"require": {
"laoqianjunzi/sms":"1.*"
},
使用
添加配置文件
return [
];
使用方法
$mobile='188888888888';
$content='短信内容';
$data= app()->make(EmaySms::class)->sendSMS($mobile,$content);