PHPackages                             xutl/yii2-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. xutl/yii2-sms

ActiveYii2-extension

xutl/yii2-sms
=============

The sms extension for the Yii framework

2.0.5(8y ago)11.4kBSD-3-ClausePHP

Since Aug 9Pushed 8y agoCompare

[ Source](https://github.com/xutl/yii2-sms)[ Packagist](https://packagist.org/packages/xutl/yii2-sms)[ RSS](/packages/xutl-yii2-sms/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (9)Dependencies (2)Versions (10)Used By (0)

SMS Extension for Yii 2
=======================

[](#sms-extension-for-yii-2)

[![Latest Stable Version](https://camo.githubusercontent.com/f91d504d849dad36eaa7e0c0748a04e7dc335874061f01110590b8f9e777ee94/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f796969322d736d732f762f737461626c652e706e67)](https://packagist.org/packages/xutl/yii2-sms)[![Total Downloads](https://camo.githubusercontent.com/17bb50e338056c1d016c993926f2a5a82d66e353d5e991c75e82b824a7e9fc35/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f796969322d736d732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/xutl/yii2-sms)[![Reference Status](https://camo.githubusercontent.com/fd40bb7b19f64ad1bad091f396a9a799c6faa0ccff0117d4ddd9ad71ef62abcb/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f7875746c3a796969322d736d732f7265666572656e63655f62616467652e737667)](https://www.versioneye.com/php/xutl:yii2-sms/references)[![Build Status](https://camo.githubusercontent.com/7c8c2d26be640ac25f56592b8ad68be167befb9c863503973da4b592c3ef8dab/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7875746c2f796969322d736d732e737667)](http://travis-ci.org/xutl/yii2-sms)[![Dependency Status](https://camo.githubusercontent.com/f0ab0e7795eea717fbf4e2b232ca507295bc6a514b8a47c13fa029a5bf20f449/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f7875746c3a796969322d736d732f6465762d6d61737465722f62616467652e706e67)](https://www.versioneye.com/php/xutl:yii2-sms/dev-master)[![License](https://camo.githubusercontent.com/f0824b0efc9e0aec1f2a2307e9d9f28100866da9c4acaa02478f6b82721605a1/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f796969322d736d732f6c6963656e73652e737667)](https://packagist.org/packages/xutl/yii2-sms)

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

[](#installation)

Next steps will guide you through the process of installing yii2-admin using [composer](http://getcomposer.org/download/). Installation is a quick and easy three-step process.

### Step 1: Install component via composer

[](#step-1-install-component-via-composer)

Either run

```
composer require --prefer-dist xutl/yii2-sms

```

or add

```
"xutl/yii2-sms": "~2.0.0"
```

to the `require` section of your composer.json.

### Step 2: Configuring your application

[](#step-2-configuring-your-application)

Add following lines to your main configuration file:

```
'modules' => [
    'sms' => [
        'class' => 'xutl\sms\clients\Aliyun',
        //etc
    ],
],
```

### Step 3: Configuring your sms template

[](#step-3-configuring-your-sms-template)

继承 `xutl\sms\SendJob` 实现你的短信发送个，在SendJob子类中设定模板什么的。发送直接推给队列了。由队列负责发送。

License
-------

[](#license)

This is released under the MIT License. See the bundled [LICENSE.md](LICENSE.md)for details.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity69

Established project with proven stability

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

Total

9

Last Release

3088d ago

Major Versions

1.0.0 → 2.0.02017-10-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/87b658aa9d49e0c80cfc609fa2b9dc6d615672b1d895f421f751945a0e394087?d=identicon)[larvacent](/maintainers/larvacent)

---

Top Contributors

[![xutl](https://avatars.githubusercontent.com/u/20939388?v=4)](https://github.com/xutl "xutl (44 commits)")

---

Tags

aliyunaliyun-mnsaliyun-smssmsyii2yii2-extensionyuntongxunsmsyii2aliyunemay

### Embed Badge

![Health badge](/badges/xutl-yii2-sms/health.svg)

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

###  Alternatives

[tuyakhov/yii2-notifications

The extension provides support for sending notifications across a variety of delivery channels, including mail, SMS, Slack etc. Notifications may also be stored in a database so they may be displayed in your web interface.

6735.5k2](/packages/tuyakhov-yii2-notifications)[saviorlv/yii2-dysms

Aliyun SMS SDK for Yii2

1316.5k1](/packages/saviorlv-yii2-dysms)

PHPackages © 2026

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