PHPackages                             batyukovstudio/laravel-notification-channels-pushsms-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. batyukovstudio/laravel-notification-channels-pushsms-ru

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

batyukovstudio/laravel-notification-channels-pushsms-ru
=======================================================

PushSMS notifications channel for Laravel

v12.0.3(1y ago)0246MITPHPPHP &gt;=7.4

Since Jun 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/batyukovstudio/laravel-notification-channels-pushsms-ru)[ Packagist](https://packagist.org/packages/batyukovstudio/laravel-notification-channels-pushsms-ru)[ Docs](https://github.com/batyukovstudio/laravel-notification-channels-pushsms-ru)[ RSS](/packages/batyukovstudio-laravel-notification-channels-pushsms-ru/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (6)Versions (3)Used By (0)

PushSMS notifications channel for Laravel
=========================================

[](#pushsms-notifications-channel-for-laravel)

This package makes it easy to send notifications using [pushsms.ru](https://pushsms.ru/) with Laravel.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the PushSMS service](#setting-up-the-PushSms-service)
- [Usage](#usage)
    - [Message method](#message-method)

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

[](#installation)

Install this package with Composer:

```
composer require batyukovstudio/laravel-notification-channels-pushsms-ru
```

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

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

### Setting up the PushSms service

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

Add your PushSms token to your `.env`:

```
// .env
...
PUSHSMS_TOKEN=qwerty123
```

Usage
-----

[](#usage)

You need to replace `Notification` extend with `PushSmsNotification` class.

```
namespace App\Notifications;

use NotificationChannels\PushSMS\Notifications\PushSmsNotification;

class MyNotification extends PushSmsNotification
{
    use Queueable;

    // ...
}
```

`PushSmsNotification` contains `$content` variable for your text message and `toPushSms` method. This method will receive a `$notifiable` entity and should return an `NotificationChannels\PushSMS\ApiActions\PushSmsMessage` instance:

```
// PushSmsNotification
}
use Illuminate\Notifications\Notification;
use NotificationChannels\PushSMS\ApiActions\PushSmsMessage;
use NotificationChannels\PushSMS\Notifications\Interfaces\PushSmsable;

abstract class PushSmsNotification extends Notification implements PushSmsable
{
    protected string $content;

    public function toPushSms($notifiable): PushSmsMessage
    {
        return PushSmsMessage::create()->content($this->content);
    }
}
```

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

```
namespace App\Notifications;

use NotificationChannels\PushSMS\Notifications\PushSmsNotification;
use NotificationChannels\PushSMS\PushSmsChannel;

class MyNotification extends PushSmsNotification
{
    public function via($notifiable)
    {
        return [PushSmsChannel::class];
    }
}
```

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

```
public function routeNotificationForPushsms()
{
    return $this->phone;
}
```

### Message method

[](#message-method)

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

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance48

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 53.8% 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

2

Last Release

386d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2201597?v=4)[Eugene Batyukov](/maintainers/Batyukov)[@batyukov](https://github.com/batyukov)

![](https://www.gravatar.com/avatar/858cefb3283a8a1b9c1e747ae9f11156005f3a1f496f1a8033b1a54903305451?d=identicon)[alloyarova](/maintainers/alloyarova)

---

Top Contributors

[![kozlov-al](https://avatars.githubusercontent.com/u/57938440?v=4)](https://github.com/kozlov-al "kozlov-al (7 commits)")[![batyukov](https://avatars.githubusercontent.com/u/2201597?v=4)](https://github.com/batyukov "batyukov (6 commits)")

---

Tags

laravelnotificationspushsms

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/batyukovstudio-laravel-notification-channels-pushsms-ru/health.svg)

```
[![Health](https://phpackages.com/badges/batyukovstudio-laravel-notification-channels-pushsms-ru/health.svg)](https://phpackages.com/packages/batyukovstudio-laravel-notification-channels-pushsms-ru)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M307](/packages/laravel-horizon)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M167](/packages/spatie-laravel-health)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2401.4M17](/packages/laravel-notification-channels-discord)[laravel-notification-channels/pusher-push-notifications

Pusher native Push Notifications driver.

281788.6k1](/packages/laravel-notification-channels-pusher-push-notifications)[illuminate/notifications

The Illuminate Notifications package.

513.1M1.1k](/packages/illuminate-notifications)

PHPackages © 2026

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