Download the PHP package laravel-notification-channels/gitter without Composer
On this page you can find all versions of the php package laravel-notification-channels/gitter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravel-notification-channels/gitter
More information about laravel-notification-channels/gitter
Files in laravel-notification-channels/gitter
Package gitter
Short Description Gitter Notifications channel for Laravel
License MIT
Homepage https://github.com/laravel-notification-channels/gitter
Informations about the package gitter
Gitter.im notifications channel for Laravel
This package makes it easy to send notifications using Gitter.im with Laravel 5.5+, 6.x & 7.x.
Contents
- Installation
- Setting up the Gitter service
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
Install this package with Composer:
If you're using Laravel 5.x you'll also need to specify a version constraint:
Setting up the Gitter service
In order to send message to Gitter rooms, you need to obtain Personal Access Token or application token.
Usage
You can use the channel in your via()
method inside the notification:
In order to let your notification know which Gitter room you are targeting, add the routeNotificationForGitter
method to your Notifiable model:
Available methods
from()
: Sets the sender's access token.
room()
: Specifies the room id to send the notification to (overridden by routeNotificationForGitter
if empty).
content()
: Sets a content of the notification message. Supports Github flavoured markdown.
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
- JhaoDa
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of gitter with dependencies
guzzlehttp/guzzle Version ^7.0.1
illuminate/queue Version 5.1 - 5.8|^6.0|^7.0|^8.0
illuminate/notifications Version 5.1 - 5.8|^6.0|^7.0|^8.0
illuminate/support Version 5.1 - 5.8|^6.0|^7.0|^8.0