PHPackages                             misterlexa/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. misterlexa/smsc

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

misterlexa/smsc
===============

PHP library for yii2. Make thigs easier if you use smsc.ru service for sending sms.

019PHP

Since Jun 17Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

smsc
----

[](#smsc)

PHP library for yii2 framework. Make things easier if you use smsc.ru service for sending sms.

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

[](#installation)

```
composer require misterlexa/smsc "*@dev"

```

Modify YII2 config file like this:

```
  'components' => [
      ...
        'smsc' => [
            'class' => 'smsc\Sender',
            'login' => 'yourlogin',
            'pass' => 'your_pass',
            'is_post' => 0,
            'is_https' => 0,
            'charset' => 'utf8',
            'debug' => 1,
            'from' => 'api@smsc.ru',
            'fmt' => '3',
        ],
      ...
  ],
  'aliases' => [
        '@smsc' => '@vendor/misterlexa/smsc',
  ],

```

Usage
-----

[](#usage)

```
class MyClass extends ActiveController {
    public function hello()
    {
        //Send sms
        $res = Yii::$app->smsc->sendSms('+79130000000','Your pass is 87643');

        //Get your account balance
        $res = Yii::$app->smsc->getBalance();

        //Get sms status
        $res = Yii::$app->smsc->getStatus(6,89130664360);
    }

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ceb2924a1fa071e8d9080156435a7998c6eaa930e811dadb580d1e7cf5c0637?d=identicon)[misterlexa](/maintainers/misterlexa)

---

Top Contributors

[![boosterpetrovich](https://avatars.githubusercontent.com/u/6880117?v=4)](https://github.com/boosterpetrovich "boosterpetrovich (23 commits)")

### Embed Badge

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

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M228](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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