PHPackages                             mofing/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mofing/aliyun-dysms

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

mofing/aliyun-dysms
===================

DySms plugin for CakePHP

v1.1(8y ago)0835↓50%MITPHPPHP &gt;=5.6.0

Since Nov 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/wcj343169893/dysms)[ Packagist](https://packagist.org/packages/mofing/aliyun-dysms)[ Docs](https://www.aliyun.com/product/sms)[ RSS](/packages/mofing-aliyun-dysms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

dysms
=====

[](#dysms)

Aliyun SMS SDK for CakePHP
--------------------------

[](#aliyun-sms-sdk-for-cakephp)

1.  从这里找到ACCESS\_ID和ACCESS\_KEY ，如果没有，生成一个
2. 修改/config/paths.php,最后加入阿里云访问认证，也可以把ACCESS\_ID和ACCESS\_KEY设置到php的环境变量中

> /\*\* 阿里云Access Key ID \*/ putenv('ACCESS\_ID=aaa');

> /\*\* 阿里云 ACCESS KEY \*/ putenv('ACCESS\_KEY=bbb');

SmsComponent中，用下面的代码来获取值

> $accessKeyId = getenv("ACCESS\_ID"); $accessKeySecret = getenv("ACCESS\_KEY");

3. PagesController控制器中，引入DySms模块

> var $components = \[ 'DySms.Sms' \];

4. 调用发送短信方法

> public function index(){ $this-&gt;Sms-&gt;send(); }

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

3085d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ba50770ab3b983b6876cc5d96fb7915f8f1ff6efeb560de643d7c6948aa8f56?d=identicon)[wcj343169893](/maintainers/wcj343169893)

---

Top Contributors

[![wcj343169893](https://avatars.githubusercontent.com/u/502789?v=4)](https://github.com/wcj343169893 "wcj343169893 (15 commits)")

---

Tags

sdksmsaliyun

### Embed Badge

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

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

###  Alternatives

[saviorlv/yii2-dysms

Aliyun SMS SDK for Yii2

1316.5k1](/packages/saviorlv-yii2-dysms)

PHPackages © 2026

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