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↓50%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 1mo 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 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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