edemsky/sms-ru
Larablocks Analysis
edemsky/sms-ru works with Laravel 10 to 13 (latest release v2.1.0, Mar 18, 2026).
Recommendation checks
PromisingPromising: maintained and up to date, meets 2 of 4 checks; not yet widely used.
- Works with Laravel 13, the current version
- Released in the last 12 months (Mar 18, 2026)
- 53 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Maintained- Last stable release: Mar 18, 2026.
- 2 releases in the last 12 months.
- First released: Jul 12, 2023.
- Monthly downloads: 53.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.
| Install | |
|---|---|
composer require edemsky/sms-ru |
|
| Latest Version: | v2.1.0 |
| PHP: | ^8.1 || ^8.2 || ^8.3 || ^8.4 |
| Laravel: | 10 – 13 |
| License: | MIT |
| Last Updated: | Mar 18, 2026 |
| Links: | GitHub · Packagist |
Smsc notifications channel for Laravel 10-13
This package makes it easy to send notifications with Laravel 10-13.
Supported versions:
- Laravel 10-13
- PHP 8.1-8.4
Contents
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
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
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
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
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Security
If you discover any security related issues, please email edemsky.m@gmail.com instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
Alternatives to edemsky/sms-ru
A development-only inbox for inspecting Laravel SMS notifications.
This package makes it easy to send notifications using turbosms.ua with Laravel
Laravel SDK for SignalBridge SMS Gateway - Send SMS messages through multiple ve...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.1.0 | ^8.1 || | ^10.0| | MIT | |
| v2.0.0 | ^8.1 || | ^10.0| | MIT |
Pre-releases (9)
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v0.1-beta.9 | >=7.2 | 5.1 - 5.8| | MIT | |
| v0.1-beta.8 | >=7.2 | 5.1 - 5.8| | MIT | |
| v0.1-beta.7 | >=7.2 | 5.1 - 5.8| | MIT | |
| v0.1-beta.6 | >=7.2 | 5.1 - 5.8| | MIT | |
| v0.1-beta.5 | >=7.2 | 5.1 - 5.8| | MIT | |
| v0.1-beta.4 | >=7.2 | 5.1 - 5.8| | MIT | |
| v0.1-beta.3 | >=7.2 | 5.1 - 5.8| | MIT | |
| v0.1-beta.2 | >=7.2 | 5.1 - 5.8| | MIT | |
| v0.1-beta.1 | >=7.2 | 5.1 - 5.8| | MIT |