PHPackages                             rashpil91/yii2-smsc - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. rashpil91/yii2-smsc

ActiveYii2-extension[Mail &amp; Notifications](/categories/mail)

rashpil91/yii2-smsc
===================

Компонент для отправки смс с помощью сервиса smsc.ru

1(5y ago)03MITPHP

Since Sep 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/rashpil91/yii2-smsc)[ Packagist](https://packagist.org/packages/rashpil91/yii2-smsc)[ RSS](/packages/rashpil91-yii2-smsc/feed)WikiDiscussions master Synced yesterday

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

Расширение для smsc.ru
======================

[](#расширение-для-smscru)

Компонент для отправки смс с помощью сервиса smsc.ru для Yii2.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist rashpil91/yii2-smsc "*"

```

or add

```
"rashpil91/yii2-smsc": "*"

```

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

Подключение
-----------

[](#подключение)

To use sender, you should configure it in the application configuration like the following, :

```
'components' => [
	...
        'smsc' => [
            'class' => 'rashpil91\smsc\Smsc',
            'config' => [
                'login' => "", //Ваш логин
                'psw' => "", //Ваш пароль
                'debug' => !1, //Включить режим отладки
                'charset' => 'utf-8'
            ]
        ],
	...
],
```

Пример
------

[](#пример)

Отправить сообщение

```
Yii::$app->smsc->Message(89998887766, "Казна пустеет, милорд");
```

Проверить статус сообщения

```
Yii::$app->smsc-getStatus(89998887766, 1); //Где 1 это ID сообщения, полученный при отправке
```

Данные запроса (Заполняются только при включенном режиме отладки)

```
Yii::$app->smsc->debug_details;
```

Узнать стоимость сообщения

```
Yii::$app->smsc->getCost(89998887766, "Казна пустеет, милорд");
```

Баланс

```
Yii::$app->smsc->getBalance();
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2067d ago

### Community

Maintainers

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

---

Top Contributors

[![rashpil91](https://avatars.githubusercontent.com/u/10964270?v=4)](https://github.com/rashpil91 "rashpil91 (9 commits)")

---

Tags

yii2extensionsmsc

### Embed Badge

![Health badge](/badges/rashpil91-yii2-smsc/health.svg)

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

###  Alternatives

[nterms/yii2-mailqueue

Email queue component for yii2 that works with yii2-swiftmailer.

87129.2k2](/packages/nterms-yii2-mailqueue)[nickcv/yii2-mandrill

Mandrill Api Integration for Yii2

29554.2k2](/packages/nickcv-yii2-mandrill)[odaialali/yii2-toastr

This is the Toastr extension for Yii 2. It encapsulates Toastr plugin in terms of Yii widgets, and makes ajax notification easy to implement.

1486.3k](/packages/odaialali-yii2-toastr)

PHPackages © 2026

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