codersstudio/sms-ru
Larablocks Analysis
codersstudio/sms-ru works with Laravel 6, 7 and 8 (latest release 1.0, Sep 17, 2025), all past end of life (the last on Jan 24, 2023): no more fixes, even for security.
Recommendation checks
Use with careUse with care: meets 0 of 4 checks.
- Supports only Laravel 6, 7 and 8, past end of life since Jan 24, 2023
- No release in the last 12 months (last: Sep 17, 2025)
- 8 downloads a month (needs 10,000)
- 2 GitHub stars (needs 100)
State
Quiet- Last stable release: Sep 17, 2025.
- No releases in the last 12 months.
- First released: Sep 17, 2025.
- Monthly downloads: 8.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.
| Install | |
|---|---|
composer require codersstudio/sms-ru |
|
| Latest Version: | 1.0 |
| Laravel: | 6 · 7 · 8 |
| License: | MIT |
| Last Updated: | Sep 17, 2025 |
| Links: | GitHub · Packagist |
Laravel sms.ru notifications
Install
composer require codersstudio/sms-ru
Usage
Package for send sms via sms.ru. Based on official PHP class http://sms.ru/php. This is package provide Channel and base Notification.
Create file config/sms-ru.php with content: (For details please read documentation http://sms.ru/php):
<?php
return [
'api_key' => env('SMS_RU_API_KEY'),
'from' => env('SMS_RU_FROM'),
'translit' => env('SMS_RU_TRANSLIT', 1),
'test' => env('SMS_RU_TEST', 1),
'partner_id' => env('SMS_RU_PARTNER_ID', 0)
];
Examples:
notify method (notifiable should have phone property):
use CodersStudio\SmsRu\Notifications\SmsRu;
...
$user->notify(new SmsRu('test'));
In Notification:
public function via($notifiable)
{
return [SmsRuChannel::class];
}
public function toSms($notifiable)
{
return [
'phone' => $this->phone,
'message' => $this->message
];
}
Facade:
SmsRu::send('89881234567', 'test'); // return bool
Testing
Run the tests with:
vendor/bin/phpunit
Credits
Security
If you discover any security-related issues, please email info@coders.studio instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
Related Packages
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| 1.0 | ^6.0| | MIT |