Download the PHP package taiwan-sms/twsms without Composer
On this page you can find all versions of the php package taiwan-sms/twsms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download taiwan-sms/twsms
More information about taiwan-sms/twsms
Files in taiwan-sms/twsms
Informations about the package twsms
TwSMS notifications channel for Laravel 5.3+
This package makes it easy to send notifications using [twsms] with Laravel 5.3+.
Contents
- Installation
- Setting up the TwSMS service
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Then you must install the service provider:
Setting up the TwSMS service
Add your TwSMS login, secret key (hashed password) and default sender name (or phone number) 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 routeNotificationForTwSMS() method, which return the phone number.
Available methods
content()
: Sets a content of the notification message.
sendTime()
: Set send time of the notification message.
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
- JhaoDa
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
API Only
How to use
All versions of twsms with dependencies
nesbot/carbon Version ^1.22|^v2.0
php-http/client-implementation Version ^1.0
php-http/discovery Version ^1.2
php-http/httplug Version ^1.1|^2.0
php-http/message Version ^1.5