PHPackages                             qcth/aliyun-sms - 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. qcth/aliyun-sms

ActiveLibrary

qcth/aliyun-sms
===============

this is aliyun sms demo

07PHP

Since Mar 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/qcth/aliyun-sms)[ Packagist](https://packagist.org/packages/qcth/aliyun-sms)[ RSS](/packages/qcth-aliyun-sms/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

阿里短信,封装composer 方便安装

阿里接口版本 'Version'=&gt;'2017-05-25'

通过composer安装 composer require qcth/aliyun-sms

//第一步:加载 include './vendor/autoload.php';

//第二步: 阿里提供密钥

$accessKeyId='';

$accessKeySecret='';

$send\_sms=new \\qcth\\aliyun\_sms\\send($accessKeyId,$accessKeySecret);

//第三步: 接收发送结果 /\*\*

- $code 短信验证码
- $iphone 手机号
- $sign\_name 短信签名
- $template\_code 模板code

\*/

$data=$send\_sms-&gt;send($code,$iphone,$sign\_name,$template\_code);

if($data\['Code'\]='OK'){

```
echo '发送成功';

```

}else{

```
echo '错误消息为'.$data['Message'];

```

}

var\_dump($data);

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/97cb04a45426ffb63787ea732b71349a8119e691133f5f8a633031ff5df3a7c5?d=identicon)[qcth](/maintainers/qcth)

---

Top Contributors

[![qcth](https://avatars.githubusercontent.com/u/16408752?v=4)](https://github.com/qcth "qcth (3 commits)")

### Embed Badge

![Health badge](/badges/qcth-aliyun-sms/health.svg)

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

PHPackages © 2026

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