Download the PHP package kineticamobile/lubichannel without Composer
On this page you can find all versions of the php package kineticamobile/lubichannel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kineticamobile/lubichannel
More information about kineticamobile/lubichannel
Files in kineticamobile/lubichannel
Package lubichannel
Short Description Laravel Notifications Channel for Ubicual
License MIT
Homepage https://github.com/kineticamobile/lubichannel
Informations about the package lubichannel
Laravel Notifications Channel for Ubicual
This package makes it easy to send notifications using Ubicual with Laravel 7.x and 8.x
Contents
- Installation
- Setting up the Ubicual service
- Usage
- On-Demand Notifications
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Setting up your Ubicual account
Add your Ubicual Product Token and default originator (name or number of sender) to your config/ubicual.php
:
Usage
You can use the channel in your via() method inside the notification:
In your notifiable model, make sure to include a routeNotificationForUbicual() method, which returns a phone number or an array of phone numbers.
On-Demand Notifications
Sometimes you may need to send a notification to someone who is not stored as a "user" of your application. Using the Notification::route method, you may specify ad-hoc notification routing information before sending the notification:
Available Message methods
from('')
: Accepts a phone number/sender name to use as the notification sender.. Make sure to register the sender name at you Ubicual dashboard.
content('')
: Accepts a string value for the notification body.
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
License
The MIT License (MIT). Please see License File for more information.
All versions of lubichannel with dependencies
illuminate/notifications Version ~7.0 || ~8.0
illuminate/support Version ~7.0 || ~8.0
guzzlehttp/guzzle Version ^6.0