Download the PHP package yakimka/laravel-notification-channel-turbosms without Composer
On this page you can find all versions of the php package yakimka/laravel-notification-channel-turbosms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yakimka/laravel-notification-channel-turbosms
More information about yakimka/laravel-notification-channel-turbosms
Files in yakimka/laravel-notification-channel-turbosms
Package laravel-notification-channel-turbosms
Short Description Turbo SMS Notification channel for Laravel 5.3+.
License MIT
Homepage https://github.com/yakimka/laravel-notification-channel-turbosms
Informations about the package laravel-notification-channel-turbosms
Turbo SMS notifications channel for Laravel 5.3+
Based on github.com/laravel-notification-channels/smsc-ru
This package made for send notifications using turbosms.ua (SOAP) with Laravel 5.3+
Contents
- Installation
- Setting up the TurboSms service
- Usage
- Available Message methods
- Changelog
- Security
- Contributing
- Credits
- License
Installation
Firstly you need working soap extension.
You can install the package via composer:
For Laravel < 5.5 you must install the service provider:
Setting up the TurboSms service
Add your TurboSms SOAP login, SOAP password and default sender name (or phone number) to your config/services.php
:
You need to publish Illuminate\Notifications\NotificationServiceProvider
files first.
Usage
You can use the channel in your via()
method inside the notification:
In your notifiable model, make sure to include a routeNotificationForTurboSms() method, which return the phone number.
or you can send notification in this way:
or with multiple receivers:
Available methods
from()
: Sets the sender's name or phone number.
content()
: Sets a content of the notification message.
Security
If you discover any security related issues, please email [email protected] 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.
All versions of laravel-notification-channel-turbosms with dependencies
illuminate/notifications Version 5.1 - 5.8|^6.0|^7.0|^8.0
illuminate/support Version 5.1 - 5.8|^6.0|^7.0|^8.0
ext-soap Version *