PHPackages                             alexeevdv/php-sms-smsru - 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. alexeevdv/php-sms-smsru

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alexeevdv/php-sms-smsru
=======================

0.1.0(5y ago)016MITPHP

Since Jun 1Pushed 5y ago1 watchersCompare

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

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

php-sms-smsru
=============

[](#php-sms-smsru)

[![Build Status](https://camo.githubusercontent.com/1089ba147217697274430ba71f3218be937ccdd5253d4269e417269293d06419/68747470733a2f2f7472617669732d63692e6f72672f616c657865657664762f7068702d736d732d736d7372752e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/alexeevdv/php-sms-smsru)[![codecov](https://camo.githubusercontent.com/d1918995954e6309cfd7d97e2ebf2fbf040df022b2e033e929657a877c7f6476/68747470733a2f2f636f6465636f762e696f2f67682f616c657865657664762f7068702d736d732d736d7372752f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/alexeevdv/php-sms-smsru)[![PHP 7.1](https://camo.githubusercontent.com/89830e985e0a7f5f1ed58d412d81ee5bdccafb5dd5861eb9a6e63e44dde568b6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e312d677265656e2e737667)](https://camo.githubusercontent.com/89830e985e0a7f5f1ed58d412d81ee5bdccafb5dd5861eb9a6e63e44dde568b6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e312d677265656e2e737667)[![PHP 7.2](https://camo.githubusercontent.com/047bbe011ab372b4d00fc7ab0ed6f0d2a3db1ffda3a25de65f318dac100328ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e322d677265656e2e737667)](https://camo.githubusercontent.com/047bbe011ab372b4d00fc7ab0ed6f0d2a3db1ffda3a25de65f318dac100328ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e322d677265656e2e737667)[![PHP 7.3](https://camo.githubusercontent.com/ebdf47db6e91607cc8e1a8ea16f4a35122a068c1e3a23b9eb6c9932d602d28ff/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e332d677265656e2e737667)](https://camo.githubusercontent.com/ebdf47db6e91607cc8e1a8ea16f4a35122a068c1e3a23b9eb6c9932d602d28ff/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e332d677265656e2e737667)[![PHP 7.4](https://camo.githubusercontent.com/b210ffea32c265d0f07ade3bfc97b7c68f2a801193f6a17cd070dd76b87f1646/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e342d677265656e2e737667)](https://camo.githubusercontent.com/b210ffea32c265d0f07ade3bfc97b7c68f2a801193f6a17cd070dd76b87f1646/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e342d677265656e2e737667)

PHP package for sending SMS messages via sms.ru provider

Usage
-----

[](#usage)

```
use alexeevdv\Sms\SmsRu\Exception\Exception as SmsRuException;
use alexeevdv\Sms\SmsRu\PhoneNumber;
use alexeevdv\Sms\SmsRu\Provider;

$httpClient = new Psr18CompatibleHttpClient();
$requestFactory = new Psr17CompatibleRequestFactory();

$provider = new Provider('Your API key', $httpClient, $requestFactory);
try {
   $messageId = $provider->sendMessage(new PhoneNumber('+1-234-567-89-10'), 'Hello!');
} catch (SmsRuException $e) {
   // Message is not sent
}
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

2176d ago

### 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 (4 commits)")

###  Code Quality

TestsCodeception

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/alexeevdv-php-sms-smsru/health.svg)

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

###  Alternatives

[embed/embed

PHP library to retrieve page info using oembed, opengraph, etc

2.1k11.0M97](/packages/embed-embed)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[csharpru/vault-php

Best Vault client for PHP that you can find

8410.3M4](/packages/csharpru-vault-php)[unleash/client

633.1M8](/packages/unleash-client)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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