Download the PHP package diviky/laravel-messenger-people without Composer
On this page you can find all versions of the php package diviky/laravel-messenger-people. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download diviky/laravel-messenger-people
More information about diviky/laravel-messenger-people
Files in diviky/laravel-messenger-people
Package laravel-messenger-people
Short Description Value First Notifications driver for sms
License MIT
Homepage https://github.com/sankarsuda/laravel-messenger-people
Informations about the package laravel-messenger-people
Notifications channel for Laravel 5.3+
Contents
- Setting up your account
- 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 routeNotificationForMessengerPeople
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-messenger-people with dependencies
illuminate/support Version ^5|^6|^7|^8
illuminate/events Version ^5|^6|^7|^8