Download the PHP package diviky/laravel-notification-channel-vfirst without Composer
On this page you can find all versions of the php package diviky/laravel-notification-channel-vfirst. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download diviky/laravel-notification-channel-vfirst
More information about diviky/laravel-notification-channel-vfirst
Files in diviky/laravel-notification-channel-vfirst
Package laravel-notification-channel-vfirst
Short Description Value First Notifications driver for sms
License MIT
Homepage https://github.com/sankarsuda/laravel-notification-channel-vfirst
Informations about the package laravel-notification-channel-vfirst
Notifications channel for Laravel 5.3+
Contents
- Installation
- Setting up your account
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Setting up your account
Add your configuration to your config/services.php
:
Usage
Now you can use the channel in your via()
method inside the notification:
In order to let your Notification know which phone are you sending to, the channel will look for the phone_number
attribute and mobile
of the Notifiable model. If you want to override this behaviour, add the routeNotificationForVfirst
method to your Notifiable model.
Available Message methods
from('')
: Accepts a phone to use as the notification sender.text('')
: Accepts a string value for the notification body.to('')
: Accepts a string value for the notification to (over writes default).
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-notification-channel-vfirst with dependencies
illuminate/support Version ^5|^6|^7|^8
illuminate/events Version ^5|^6|^7|^8