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

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

everstu/aliyun-sms
==================

阿里云短信扩展包

1.0.1(5y ago)07MITPHPPHP &gt;=5.6

Since Jun 30Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (3)Used By (0)

aliyun-sms
==========

[](#aliyun-sms)

阿里云短信API扩展包
-----------

[](#阿里云短信api扩展包)

##### 简易使用实例

[](#简易使用实例)

###### 安装扩展

[](#安装扩展)

`composer require everstu/aliyun-sms=^v1.0`

###### 使用扩展

[](#使用扩展)

```
use everstu\aliyun\aliSms;
$config = [
        'AccessKeyId'=>'AccessKeyId',//阿里accesskeyid 必传
        'AccessSecret'=>'AccessSecret',//阿里secret 必传
        'SignName'=>'短信签名', //短信签名 选填 如未传需调用方法动态设置
        'TemplateCode'=>'TemplateCode',//模板CODE 选填 如未传需调用方法动态设置
];
//实例化发送对象
$aliyunSms = new aliSms($cofing);
$aliyunSms = $aliyunSms->setSignName('短信签名')->setTemplateCode('模板code');
$response  = $aliyunSms->SendSms(
    '1388888888', //手机号，可以传入数组，发送同一通知可以传入数组 上限为1000个
    [
        'code'=>1133
    ]
);

//response 返回请求类实例
支持方法
$response->isSuccess();//如果请求响应code为200-300之间返回true否则返回false
$response->response;//接口返回原始响应体
更多详细使用方法请查看源码。

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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 ~12 days

Total

2

Last Release

2129d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/117be66758e23b54394384783627b14cb8c0ca45f8e42efeb8f37efc5f87c54c?d=identicon)[whtony2003](/maintainers/whtony2003)

---

Top Contributors

[![everstu](https://avatars.githubusercontent.com/u/19686947?v=4)](https://github.com/everstu "everstu (2 commits)")

### Embed Badge

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

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

PHPackages © 2026

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