PHPackages                             romanstruk/smsnotify - 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. romanstruk/smsnotify

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

romanstruk/smsnotify
====================

Відправка смс

v0.0.3-alpha(4y ago)04MITPHPPHP ^7.3|^8.0

Since Dec 26Pushed 4y ago3 watchersCompare

[ Source](https://github.com/RomanStruk/SmsNotify)[ Packagist](https://packagist.org/packages/romanstruk/smsnotify)[ RSS](/packages/romanstruk-smsnotify/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (5)Used By (0)

SmsNotify
=========

[](#smsnotify)

[![Release](https://camo.githubusercontent.com/07daf13d7782b321fb408d0345e6642b161326c04e56fac86612bfa7367cf87f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f52656c656173652d76302e302e332d2d616c7068612d79656c6c6f773f7374796c653d666c61742d737175617265)](https://github.com/RomanStruk/SmsNotify/releases)

Бібліотека для Laravel який реалізує відправку смс повідомлень різними клієнтами по одному API Підтримуються сторонні сервіси такі як :

- Viber UA
- MTS Communicator BY
- TurboSMS UA

Встановлення
------------

[](#встановлення)

Рекомендований спосіб встановлення SmsNotify через [Composer](https://getcomposer.org/).

```
composer require romanstruk/smsnotify
```

Сумістність
-----------

[](#сумістність)

На даний момент перевірено тільки на Laravel 8.x

Налаштування
------------

[](#налаштування)

```
php artisan vendor:publish RomanStruk\SmsNotify\SmsNotifyServiceProvider
```

Після цього оновіть `config/smsnotify.php` вашими налаштуваннями.

Використання
------------

[](#використання)

Щоб використовувати бібліотеку SmsNotify, ви можете використовувати фасад або отримати екземпляр із сервіс контейнера:

```
SmsNotifyFacade::to(new PhoneNumber('0666000000', 'UA'))
                ->send(new SmsMessage('Some sms text'));
```

або

```
$smsNotify = app(SmsNotifyInterface::class);
$smsNotify->to(new PhoneNumber('0666000000', 'UA'))
          ->send(new SmsMessage('Some sms text'));
```

Якщо сервіс відправки смс потрібно змінювати динамічно під час виконання то можна використати `Closure` для методу `clientMap(Closure $func)` результатом має бути один із ключів за яким прікріплений клієнт в файлі конфігурації

```
SmsNotifyFacade::clientMap(function (){
                    return 'ua';
                })
                ->to(new PhoneNumber('0666000000', 'UA'))
                ->send(new SmsMessage('Some text'));
```

Файл `config/smsnotify.php`

```
...
'map' => [
    'ua' => 'log',
    'by' => 'mts-communicator'
]
...
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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

Every ~0 days

Total

3

Last Release

1596d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/725e1988d98adf61dc777725d289f272c8b6fbcfc415b1252caeaac14c594174?d=identicon)[RomanStruk](/maintainers/RomanStruk)

---

Top Contributors

[![RomanStruk](https://avatars.githubusercontent.com/u/19497911?v=4)](https://github.com/RomanStruk "RomanStruk (19 commits)")

---

Tags

composerlaravel-packagephp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/romanstruk-smsnotify/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

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

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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