Download the PHP package niisan/laravel-sms-notification without Composer
On this page you can find all versions of the php package niisan/laravel-sms-notification. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download niisan/laravel-sms-notification
More information about niisan/laravel-sms-notification
Files in niisan/laravel-sms-notification
Download niisan/laravel-sms-notification
More information about niisan/laravel-sms-notification
Files in niisan/laravel-sms-notification
Vendor niisan
Package laravel-sms-notification
Short Description Add SMS notification channel to laravel.
License MIT
Package laravel-sms-notification
Short Description Add SMS notification channel to laravel.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-sms-notification
laravel-sms-channel
Add SMS notification channnel to laravel.
Install
Fisrt, install package via composer.
And install using client sdk. If we use twilio, we install twilio sdk.
Then we publish configuration.
Usage
Set .env
.
In notification class, we can write followin:
And in notifiable model, we get phone_number
from routeNotificationForSms
method to send messages:
In this case, SMS sent from the env value: SMS_DEFAULT_FROM
.
Otherwise, set to
and from
by SmsMessage class:
Unicode
if we want to use unicode string, we use unicode method:
All versions of laravel-sms-notification with dependencies
PHP Build Version
Package Version
Requires
illuminate/notifications Version
^5.8 || ^6.0 || ^7.0 || ^8.0
The package niisan/laravel-sms-notification contains the following files
Loading the files please wait ....