Download the PHP package vikki-user/turbosms without Composer
On this page you can find all versions of the php package vikki-user/turbosms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vikki-user/turbosms
More information about vikki-user/turbosms
Files in vikki-user/turbosms
Package turbosms
Short Description TurboSMS Notification notifications driver for Laravel 5.7+.
License MIT
Homepage https://github.com/VikkiUser/turbosms
Informations about the package turbosms
TurboSMS notifications channel for Laravel 5.7+
This package makes it easy to send notifications using turbosms.ua with Laravel 5.7+.
Contents
- Installation
- Setting up the TurboSMS service
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Thanks to Package Auto-Discovery In Laravel 5.5 you don't need to install the service provider manually.
Setting up the TurboSMS service
Initial steps:
- register account at turbosms.ua/registration.html
- add sender in turbosms.ua/sign/add.html
- create login and password for SOAP API at turbosms.ua/route.html
Add your TurboSMS user, password and sender to your config/services.php
:
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 array of phone numbers.
Available methods
TurboSmsClient
getLastResults()
: get array of notification's GUID styled ID.
TurboSmsMessage
content()
: sets a content of the notification message.
getContent()
: gets a content of the notification message.
sender()
: sets the sender's name (or phone number as name).
getSender()
: gets the sender's name.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
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
- Andrey Anufriev
- All Contributors
License
The MIT License (MIT). Please see License File for more information.