laravel-tool / laravel-websms-ru
Laravel WebSMS.ru channel provider
Package info
github.com/laravel-tool/laravel-websms-ru
Type:laravel-plugin
pkg:composer/laravel-tool/laravel-websms-ru
v0.1.0
2026-07-02 09:10 UTC
Requires
- php: >=8.0
- illuminate/http: ^9.0|^10.0|^11.0|^12.0|^13.0
- illuminate/notifications: ^9.0|^10.0|^11.0|^12.0|^13.0
README
Installation
composer require laravel-tool/laravel-websms-ru
Configuration
-
return [ 'username' => env('WEBSMS_RU_USERNAME'), 'password' => env('WEBSMS_RU_PASSWORD'), 'test_mode' => env('WEBSMS_RU_TEST_MODE', false), 'default_sender' => env('WEBSMS_RU_DEFAULT_SENDER'), ];
- Add to notifiable model:
public function routeNotificationForSms($notification): string { return $this->phone; }
- Add to notification channel "websms_ru":
public function via($notifiable) { return ['websms_ru']; }