xiaolong/yunpian-sms
云片短信发送,基于Laravel5.3插件。
33
5
Larablocks Analysis
xiaolong/yunpian-sms works with any PHP project: the latest release (v1.0.1, Mar 15, 2017) doesn't depend on Laravel.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- No release in the last 12 months (last: Mar 15, 2017)
- 0 downloads a month (needs 10,000)
- 5 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Mar 15, 2017.
- No releases in the last 12 months.
- First released: Mar 15, 2017.
- 1 open issue on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.
| Install | |
|---|---|
composer require xiaolong/yunpian-sms |
|
| Latest Version: | v1.0.1 |
| License: | MIT |
| Last Updated: | Mar 15, 2017 |
| Links: | GitHub · Packagist |
Maintainer: G-Bruin
yunpian-sms
基于laravel5.3.*以上版本的系统集成短信发送功能。
安装
- 安装包文件
composer require xiaolong/yunpian-sms
配置
Laravel 应用
- 注册
ServiceProvider:
XiaoLong\YunpianSMS\YunpianSMSServiceProvider::class,
- 创建配置文件:
php artisan vendor:publish
-
请修改应用根目录下的
config/yunpian.php中对应的项即可; -
(可选)添加外观到
config/app.php中的aliases部分:
'YunpianSMS' => XiaoLong\YunpianSMS\Facades\YunpianSMS::class,
- 在 ENV 中配置以下选项:
SMS_API_KEY=xxx
SMS_SEND_URL=xxx
6.使用
/*
* 手机号
* 短信模板
*/
\YunpianSMS::sendSMS('183xxxx1235',"【xxx】短信内容");
License
MIT
Related Packages
lbhurtado/sms
Driver-based SMS component in Laravel inspired by the tutorial of Orobo Lucky
10,794
0
alhaji-aki/laravel-sms
A package that allows developers integrate sms providers and provide a common ap...
6,642
2
Version History
| Version | Released | License |
|---|---|---|
| v1.0.1 | MIT | |
| 1.0.0 | MIT |