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

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

wtwei/aliyun-sms-php
====================

阿里云 SMS forked from HyanCat/aliyun-sms-php

v0.2.5(9y ago)0499MITPHPPHP &gt;=5.5.9

Since Nov 18Pushed 9y ago1 watchersCompare

[ Source](https://github.com/wtwei/aliyun-sms-php)[ Packagist](https://packagist.org/packages/wtwei/aliyun-sms-php)[ RSS](/packages/wtwei-aliyun-sms-php/feed)WikiDiscussions master Synced 5d ago

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

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

[](#aliyun-sms-php)

阿里云短信服务 for PHP.

Installation
------------

[](#installation)

```
composer require wtwei/aliyun-sms-php

```

Usage
-----

[](#usage)

### In a general way

[](#in-a-general-way)

```
$sms = new \Wtwei\AliyunSMS\SmsService('[TEST_APP_ID]', '[TEST_APP_KEY]');

// 设置参数
$sms->setTemplate('[TEMPLATE_NAME]');
$sms->setParams(['code' => '我是验证码', 'product' => '我是产品']);
$sms->setSignName('我是签名');

// 发送短信
$sms->send('[PHONE_NUMBER]');
```

License
-------

[](#license)

The source code is under [MIT License](https://github.com/wtwei/aliyun-sms-php/blob/master/LICENSE).

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Recently: every ~53 days

Total

7

Last Release

3327d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b4fc0208a86640ec8ce3033f7f462dae5e97be4e50bfc493c626ef0b05bffff?d=identicon)[wtwei](/maintainers/wtwei)

---

Top Contributors

[![wtwei](https://avatars.githubusercontent.com/u/685615?v=4)](https://github.com/wtwei "wtwei (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[worm/getclientiplib

GetClientIp is a lightweight PHP class for get real/original client IP address, without proxy as opera mini and other.

1814.1k1](/packages/worm-getclientiplib)

PHPackages © 2026

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