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(8y ago)0499MITPHPPHP &gt;=5.5.9

Since Nov 18Pushed 8y 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 3w 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 41% 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

3282d 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

[symfony/polyfill

Symfony polyfills backporting features to lower PHP versions

2.8k4.6M26](/packages/symfony-polyfill)[spatie/laravel-navigation

Manage menus, breadcrumbs, and other navigational elements in Laravel apps

5801.1M15](/packages/spatie-laravel-navigation)[spatie/laravel-missing-page-redirector

Redirect missing pages in your Laravel application

5101.4M18](/packages/spatie-laravel-missing-page-redirector)[johnbillion/wp-crontrol

Take control of the cron events on your WordPress website or WooCommerce store

22586.6k1](/packages/johnbillion-wp-crontrol)[typo3/cms-recordlist

TYPO3 CMS Recordlist - Lists database records in the TYPO3 backend module (Web&gt;List).

178.1M52](/packages/typo3-cms-recordlist)[mage-os/magento-cache-clean

A faster drop in replacement for bin/magento cache:clean with file watcher

49264.1k2](/packages/mage-os-magento-cache-clean)

PHPackages © 2026

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