PHPackages                             alexeevdv/yii2-sms-ru - 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. [API Development](/categories/api)
4. /
5. alexeevdv/yii2-sms-ru

ActiveYii2-extension[API Development](/categories/api)

alexeevdv/yii2-sms-ru
=====================

Yii2 wrapper for sms.ru API

322.3k↓85.7%3PHP

Since Nov 28Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-sms-ru
===========

[](#yii2-sms-ru)

Yii2 wrapper for [sms.ru](https://sms.ru/) API

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

[](#installation)

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

Either run

```
$ php composer.phar require alexeevdv/yii2-sms-ru "dev-master"

```

or add

```
"alexeevdv/yii2-sms-ru": "dev-master"

```

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

Configuration
-------------

[](#configuration)

### Through application component

[](#through-application-component)

```
"components" => [
    //...
    "sms" => [
        "class" => "alexeevdv\sms\ru\Client",
        "api_id" => "YOUR_API_ID",
    ],
    //...
],
```

Usage
-----

[](#usage)

```
use alexeevdv\sms\ru\Sms;
$response = \Yii::$app->sms->send(new Sms([
    "to" => "+9530000000",
    "text" => "Hello my friend!",
]));

echo $response->code;
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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/e6f71682c6a273973ad9c29d60ddac6d3cc55db7e55ec4f5638115f4c22409f6?d=identicon)[alexeevdv](/maintainers/alexeevdv)

---

Top Contributors

[![alexeevdv](https://avatars.githubusercontent.com/u/597839?v=4)](https://github.com/alexeevdv "alexeevdv (6 commits)")[![Slauta](https://avatars.githubusercontent.com/u/1894301?v=4)](https://github.com/Slauta "Slauta (1 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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