PHPackages                             laramall/aliyun-dysms - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. laramall/aliyun-dysms

ActivePackage[Mail &amp; Notifications](/categories/mail)

laramall/aliyun-dysms
=====================

新版阿里大于短信接口 for laravel5.5+

v1.0.8(8y ago)212.1k↓93.8%6[3 issues](https://github.com/bluetoothswh/AlidySms/issues)1MITPHPPHP &gt;=7.0

Since Oct 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/bluetoothswh/AlidySms)[ Packagist](https://packagist.org/packages/laramall/aliyun-dysms)[ Docs](https://github.com/bluetoothswh/AlidySms.git)[ RSS](/packages/laramall-aliyun-dysms/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (10)Used By (1)

AlidySms
========

[](#alidysms)

新版阿里大于短信接口的Laravel组件 for Laravel 5.5+

网址：[larashuo.com](https://larashuo.com)

[![](https://camo.githubusercontent.com/2ebaaf7712289190038117a9f302a077d2758149e7dd1c106005c6c986d1f49e/68747470733a2f2f6c6172617669702e636f6d2f696d616765732f616c696479736d732e706e67)](https://camo.githubusercontent.com/2ebaaf7712289190038117a9f302a077d2758149e7dd1c106005c6c986d1f49e/68747470733a2f2f6c6172617669702e636f6d2f696d616765732f616c696479736d732e706e67)

系统要求
====

[](#系统要求)

```
php >= 7.0+

laravel >= 5.5+

```

安装
==

[](#安装)

```
composer require laramall/aliyun-dysms

```

设置配置文件
======

[](#设置配置文件)

```
php artisan vendor:publish --provider="LaraMall\AlidySms\AlidySmsServiceProvider"

修改 config/sms.php 中的阿里大于短信相关参数

  	//id
	'ACCESS_KEY_ID'=>'',
	//秘钥
	'ACCESS_KEY_SECRET'=>'',
	//短信签名
	'signName'=>'',
	//短信模板编号
	'templateCode'=>'',
	//短信模板中变量字段
	'field'=>'number',
	//要发送的短信内容
	'content'=>rand(1000,9999),

```

使用
==

[](#使用)

[![](https://camo.githubusercontent.com/e94e193ad3e62e755bd9fc78cf1beefdffd9c9b49b133e825dac9281e3cb0c11/687474703a2f2f6f78356477693778692e626b742e636c6f7564646e2e636f6d2f6769746875622f736d732d74702e706e67)](https://camo.githubusercontent.com/e94e193ad3e62e755bd9fc78cf1beefdffd9c9b49b133e825dac9281e3cb0c11/687474703a2f2f6f78356477693778692e626b742e636c6f7564646e2e636f6d2f6769746875622f736d732d74702e706e67)

```
use Sms;

//短信发送成功 下面函数返回 true 反之 false
Sms::put('phone','13800000000')->send();

```

所有参数完全自定义发送短信模式
===============

[](#所有参数完全自定义发送短信模式)

```
Sms::put('phone',$phone) //接受短信的手机号
   ->put('signName',$signName) //短信签名
   ->put('templateCode',$templateCode) //短信模板编号
   ->put('filed',$field) //短信模板中的变量字段
   ->put('content',$content) //短信中的变量的值 也就是验证码的内容
   ->send(); //发送短信

```

如果在配置文件config/sms.php中已经设置了

短信签名 + 短息模板编号 + 短信模板中字段变量 + 短信发送内容

可以使用简约模式发送短信

```
use Sms;
Sms::put('phone',$phone)->send();

```

验证短信已写入表单验证规则

假设表单中短信验证码的字段为 code

```
$rules = ['code'=>'required|sms'];

```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 97.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Total

9

Last Release

3111d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7559687?v=4)[David Sun](/maintainers/bluetoothswh)[@bluetoothswh](https://github.com/bluetoothswh)

---

Top Contributors

[![bluetoothswh](https://avatars.githubusercontent.com/u/7559687?v=4)](https://github.com/bluetoothswh "bluetoothswh (40 commits)")[![bitqiu](https://avatars.githubusercontent.com/u/4955106?v=4)](https://github.com/bitqiu "bitqiu (1 commits)")

---

Tags

laravel55aliyun dysms sdk

### Embed Badge

![Health badge](/badges/laramall-aliyun-dysms/health.svg)

```
[![Health](https://phpackages.com/badges/laramall-aliyun-dysms/health.svg)](https://phpackages.com/packages/laramall-aliyun-dysms)
```

###  Alternatives

[matviib/notifier

NO LIBRARIES socket per page bridge for your Laravel application.

621.2k](/packages/matviib-notifier)[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
