Download the PHP package nuwira/laravel-sms-notification without Composer
On this page you can find all versions of the php package nuwira/laravel-sms-notification. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nuwira/laravel-sms-notification
More information about nuwira/laravel-sms-notification
Files in nuwira/laravel-sms-notification
Package laravel-sms-notification
Short Description Nuwira SMS Notifications for Laravel
License MIT
Homepage https://github.com/Nuwira/laravel-sms-notification
Informations about the package laravel-sms-notification
Nuwira SMS Notifications Channel for Laravel 5.3
This package makes it easy to send SMS notifications using Nuwira SMS Gateway with Laravel 5.3.
Contents
- Requirements
- Installation
- Usage
- Security
- Contributing
- Credits
- License
Requirements
Log in to Nuwira SMS Gateway then create an application that will give you a Client ID and Client Secret.
Installation
You can install the package via composer:
You must install the service provider:
Publish the configuration using this command:
Open config/sms.php
file and edit the configuration, or you can use .env
file and fill the Client ID and Client Secret.
Usage
You can now use the channel in your via()
method inside the Notification class.
Available methods
to($phoneNumber)
:(string)
Receiver phone number. Using international phone number (+62XXXXXXXXXX) format is highly suggested.content($message)
:(string)
The SMS content. If content length is more than 160 characters, it will be sent as long SMS automatically.
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-sms-notification with dependencies
nuwira/smsgw Version ~2.3
illuminate/notifications Version ^5.3
illuminate/support Version ^5.3