Download the PHP package dh2y/think-sms without Composer
On this page you can find all versions of the php package dh2y/think-sms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dh2y/think-sms
More information about dh2y/think-sms
Files in dh2y/think-sms
Download dh2y/think-sms
More information about dh2y/think-sms
Files in dh2y/think-sms
Vendor dh2y
Package think-sms
Short Description sms for thinkphp5
License MIT
Homepage https://github.com/cinaofdai/think-sms
Package think-sms
Short Description sms for thinkphp5
License MIT
Homepage https://github.com/cinaofdai/think-sms
Please rate this library. Is it a good library?
Informations about the package think-sms
think-sms
The ThinkPHP5 sms 短信通用SDK
安装
一、执行命令安装
或者
二、require安装
适配5.0
适配5.1
或者
三、autoload psr-4标准安装
使用
添加配置文件
使用方法
添加场景
在配置SMS_SCENE里面添加一个test场景
添加新的短信服务商
1、在think-sms/src/service/ 新增短信服务商类 Dh2y(列如短信服务商为:dh2y)
2、Dh2y类继承 MessageInterface 短信接口实现里面的方法(其实是抽象类)
3、实现里面的sendSms 和 getRequestUrl方法
All versions of think-sms with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package dh2y/think-sms contains the following files
Loading the files please wait ....