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

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

kriss/yii2-bd-sms
=================

Yii2 必答短信的组件

v1.0(8y ago)0101MITPHP

Since Jan 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/krissss/yii2-bd-sms)[ Packagist](https://packagist.org/packages/kriss/yii2-bd-sms)[ RSS](/packages/kriss-yii2-bd-sms/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Yii2 必答短信的组件
============

[](#yii2-必答短信的组件)

> Yii2 必答短信的组件，仅适用于`必答短信`

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

[](#installation)

```
php composer.phar require --prefer-dist kriss/yii2-bd-sms -vvv

```

Usage
-----

[](#usage)

1. 定义一个 SmsSender 继承 AbstractSmsSender

see [SmsSender.php](https://github.com/krissss/yii2-bd-sms/blob/master/examples/SmsSender.php)

2. 配置 config

```
use kriss\bd\sms\Sms;

$config = [
    'components' => [
        Sms::COMPONENT_NAME => [
            'class' => Sms::className(),
            'enable' => true,
            'account' => 'xxxx',
            'password' => 'xxxxx',
            'logCategory' => 'bd-sms',
        ]
    ]
]
```

3. Controller

see [AppController.php](https://github.com/krissss/yii2-bd-sms/blob/master/examples/AppController.php)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3032d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b4053cfc9956b8c15b9bc4c9c7c2bad625d16d1b6d9191019b2a25cc0972d955?d=identicon)[kriss](/maintainers/kriss)

---

Top Contributors

[![krissss](https://avatars.githubusercontent.com/u/10680903?v=4)](https://github.com/krissss "krissss (3 commits)")

---

Tags

yii2bd-sms

### Embed Badge

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

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

###  Alternatives

[degordian/yii2-webhooks

Yii2 extension for webhooks

117.1k](/packages/degordian-yii2-webhooks)

PHPackages © 2026

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