PHPackages                             websightnl/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. websightnl/yii2-sms

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

websightnl/yii2-sms
===================

SMS Component for Yii2

0.2.4(9y ago)027MITPHP

Since Aug 24Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (6)Used By (0)

SMS Component for Yii 2
=======================

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

Note: Only using Twilio at the moment.

### Setup

[](#setup)

```
// app/config/main.php
return [
    ...
    'components' => [
        ...
        'sms' => [
            'class' => 'websightnl\yii2sms\Twilio',
            'sid' => '',
            'token' => '',
            'number' => '',
        ]
        ...
    ]
    ...
];

```

### Usage

[](#usage)

```
class User extends AR implements RecipientInterface {
    ...
    public function getMobileNumber() {
        return $this->profile->mobile_number;
    }
    ...
}

$user = User::findByPk(1);
Yii::$app->sms->send($user, 'Hi');

// or

Yii::$app->sms->send('+612345678910', 'Hi');

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~0 days

Total

5

Last Release

3596d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2834bc8d1ea16f434606e47ba6ee32f287dc875737db778ed10532244338c461?d=identicon)[eborned](/maintainers/eborned)

---

Top Contributors

[![darkunz](https://avatars.githubusercontent.com/u/1054982?v=4)](https://github.com/darkunz "darkunz (9 commits)")[![bodva](https://avatars.githubusercontent.com/u/770634?v=4)](https://github.com/bodva "bodva (1 commits)")

---

Tags

smsyii2yii2 sms

### Embed Badge

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

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

###  Alternatives

[daixianceng/yii2-smser

Yii2 SMS extension

862.9k1](/packages/daixianceng-yii2-smser)[saviorlv/yii2-dysms

Aliyun SMS SDK for Yii2

1316.8k1](/packages/saviorlv-yii2-dysms)[abhi1693/yii2-sms

Send Free Sms for Yii2

171.9k](/packages/abhi1693-yii2-sms)

PHPackages © 2026

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