PHPackages                             pyrobyteweb/sms - 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. pyrobyteweb/sms

ActiveLibrary

pyrobyteweb/sms
===============

00PHP

Since Dec 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/PyrobyteWeb/sms-laravel)[ Packagist](https://packagist.org/packages/pyrobyteweb/sms)[ RSS](/packages/pyrobyteweb-sms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Sms Laravel
===========

[](#sms-laravel)

Laravel 8+
PHP 7.4+

1. В файле app.php, в секцию packages добавить: \\PyrobyteWeb\\Sms\\SmsServiceProvider::class
2. `php artisan vendor:publish --provider="PyrobyteWeb\Sms\SmsServiceProvider"`
3. Добавить в `.env` параметр `SMS_RU_KEY` и указать свой токен от SMS\_RU
4. Указать нужного вам правайдера для отправки смс в `config/sms.php`. На данный момент доступен только один - `smsru`

Доступные методы
----------------

[](#доступные-методы)

Работа осуществляется через фасад `PyrobyteWeb\Sms\Facades\Sms`

- Метод отправки сообщения - `send(SmsSendDTO $data): SmsResponse`
- Метод получения статуса отправки сообщения - `getStatus(string $smsId): SmsResponse`
- Метод получения баланса - `getBalance(): SmsResponse`

### Пример использование

[](#пример-использование)

```
\PyrobyteWeb\Sms\Facades\Sms::send(new \PyrobyteWeb\Sms\DTO\SmsSendDTO('71234567890', 'Тест'));
\PyrobyteWeb\Sms\Facades\Sms::getStatus('123456-123456');
\PyrobyteWeb\Sms\Facades\Sms::getBalance();

```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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/52f8ff69df767d9981fc8955cc137beb3338deb4554691faad7202f9c28bdc74?d=identicon)[Pyrobyte](/maintainers/Pyrobyte)

---

Top Contributors

[![pyrorolf](https://avatars.githubusercontent.com/u/83811862?v=4)](https://github.com/pyrorolf "pyrorolf (3 commits)")

### Embed Badge

![Health badge](/badges/pyrobyteweb-sms/health.svg)

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

PHPackages © 2026

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