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

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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 2w ago

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 9% 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://avatars.githubusercontent.com/u/16408752?v=4)[chenyun](/maintainers/qcth)[@qcth](https://github.com/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)
```

###  Alternatives

[libern/qr-code-reader

Simple PHP QR Code Reader / Decoder

96241.0k3](/packages/libern-qr-code-reader)[mcred/detect-credit-card-type

Utility to determine credit card type by PAN

14682.1k1](/packages/mcred-detect-credit-card-type)[rych/random

Random data generator for PHP

14450.6k9](/packages/rych-random)[olifanton/interop

Olifanton interop library

1071.8k3](/packages/olifanton-interop)[nebkam/symfony-traits

Helper trait to ease writing APIs in Symfony

157.3k](/packages/nebkam-symfony-traits)

PHPackages © 2026

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