PHPackages                             edemsky/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. [Mail &amp; Notifications](/categories/mail)
4. /
5. edemsky/sms-ru

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

edemsky/sms-ru
==============

SMS notifications channel for Laravel 10-13.

v2.1.0(2mo ago)01.7kMITPHPPHP ^8.1 || ^8.2 || ^8.3 || ^8.4

Since Jul 12Pushed 2mo agoCompare

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

READMEChangelog (10)Dependencies (12)Versions (14)Used By (0)

Smsc notifications channel for Laravel 10-13
============================================

[](#smsc-notifications-channel-for-laravel-10-13)

[![Latest Version on Packagist](https://camo.githubusercontent.com/77d872b056c57c4be3787ba3702b931572821ca74003ce9611581bd8174d07c7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d73632d72752e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/edemsky/sms-ru)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/fd6b9fd2326ebd1b00b992f7dd9e72fd81c39df9533655c1ef7c4a77d7654039/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d73632d72752e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/edemsky/sms-ru)

This package makes it easy to send notifications with Laravel 10-13.

Supported versions:

- Laravel 10-13
- PHP 8.1-8.4

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the SmscRu service](#setting-up-the-SmscRu-service)
- [Usage](#usage)
    - [Available Message methods](#available-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

Install this package with Composer:

```
composer require edemsky/sms-ru
```

The service provider gets loaded automatically. Or you can do this manually:

```
// config/app.php
'providers' => [
    ...
    NotificationChannels\SmsBee\SmsServiceProvider::class,
],
```

### Setting up the SmscRu service

[](#setting-up-the-smscru-service)

Add your SmscRu login, secret key (hashed password) and default sender name (or phone number) to your `config/services.php`:

```
// config/services.php
...
'sms' => [
    'login'  => env('SMS_LOGIN'),
    'secret' => env('SMS_SECRET'),
    'sender' => 'John_Doe',
    'charset' => 'utf-8',
    'extra'  => [
        // any other API parameters
        // 'tinyurl' => 1
    ],
],
...
```

> If you want use other host than sms, you MUST set custom host WITH trailing slash.

```
// .env
...
SMSCRU_HOST=http://www.sms.kz/
...

```

```
// config/services.php
...
'sms' => [
    ...
    'host' => env('SMSCRU_HOST'),
    ...
],
...
```

Usage
-----

[](#usage)

You can use the channel in your `via()` method inside the notification:

```
use Illuminate\Notifications\Notification;
use NotificationChannels\SmsBee\SmsMessage;
use NotificationChannels\SmsBee\SmsChannel;

class AccountApproved extends Notification
{
    public function via($notifiable)
    {
        return [SmsChannel::class];
    }

    public function toSms($notifiable)
    {
        return SmsMessage::create("Task #{$notifiable->id} is complete!");
    }
}
```

In your notifiable model, make sure to include a `routeNotificationForSms()` method, which returns a phone number or an array of phone numbers.

```
public function routeNotificationForSms(\Illuminate\Notifications\Notification $notification = null)
{
    return $this->phone;
}
```

### Available methods

[](#available-methods)

`from()`: Sets the sender's name or phone number.

`content()`: Set a content of the notification message.

`sendAt()`: Set a time for scheduling the notification message.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [JhaoDa](https://github.com/edemsky)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance88

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 52.4% 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 ~98 days

Recently: every ~186 days

Total

11

Last Release

62d ago

Major Versions

v0.1-beta.9 → v2.0.02026-02-03

PHP version history (2 changes)v0.1-beta.1PHP &gt;=7.2

v2.0.0PHP ^8.1 || ^8.2 || ^8.3 || ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/c1863772678f203ef38fe16b5f750fcfcde32589a465cb72301c0897c153235f?d=identicon)[edemsky](/maintainers/edemsky)

---

Top Contributors

[![jhaoda](https://avatars.githubusercontent.com/u/2151259?v=4)](https://github.com/jhaoda "jhaoda (44 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (16 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (5 commits)")[![vanodevium](https://avatars.githubusercontent.com/u/16780069?v=4)](https://github.com/vanodevium "vanodevium (3 commits)")[![edemsky](https://avatars.githubusercontent.com/u/4083808?v=4)](https://github.com/edemsky "edemsky (2 commits)")[![casperboone](https://avatars.githubusercontent.com/u/15815208?v=4)](https://github.com/casperboone "casperboone (1 commits)")[![enniel](https://avatars.githubusercontent.com/u/19760944?v=4)](https://github.com/enniel "enniel (1 commits)")[![Finesse](https://avatars.githubusercontent.com/u/9006227?v=4)](https://github.com/Finesse "Finesse (1 commits)")[![artshev](https://avatars.githubusercontent.com/u/9943032?v=4)](https://github.com/artshev "artshev (1 commits)")[![arlanram](https://avatars.githubusercontent.com/u/39748102?v=4)](https://github.com/arlanram "arlanram (1 commits)")[![kefir500](https://avatars.githubusercontent.com/u/3617499?v=4)](https://github.com/kefir500 "kefir500 (1 commits)")[![mhamlet](https://avatars.githubusercontent.com/u/1281731?v=4)](https://github.com/mhamlet "mhamlet (1 commits)")[![oyed](https://avatars.githubusercontent.com/u/172114265?v=4)](https://github.com/oyed "oyed (1 commits)")[![pinguinjkeke](https://avatars.githubusercontent.com/u/10704892?v=4)](https://github.com/pinguinjkeke "pinguinjkeke (1 commits)")[![spycrabo](https://avatars.githubusercontent.com/u/30431331?v=4)](https://github.com/spycrabo "spycrabo (1 commits)")[![antonydevanchi](https://avatars.githubusercontent.com/u/610172?v=4)](https://github.com/antonydevanchi "antonydevanchi (1 commits)")[![tyurind](https://avatars.githubusercontent.com/u/2355982?v=4)](https://github.com/tyurind "tyurind (1 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (1 commits)")[![alexey-m-ukolov](https://avatars.githubusercontent.com/u/1778239?v=4)](https://github.com/alexey-m-ukolov "alexey-m-ukolov (1 commits)")

---

Tags

laravelnotificationssmssmscentre

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[s-ichikawa/laravel-sendgrid-driver

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

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[benwilkins/laravel-fcm-notification

Laravel FCM (Firebase Cloud Messaging) Notification Channel

210964.1k1](/packages/benwilkins-laravel-fcm-notification)[laravel-notification-channels/smsc-ru

SmscRu Notifications channel for Laravel 5.3.

51192.8k](/packages/laravel-notification-channels-smsc-ru)[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)
