Download the PHP package yajianguo/lark-notification-channel without Composer
On this page you can find all versions of the php package yajianguo/lark-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yajianguo/lark-notification-channel
More information about yajianguo/lark-notification-channel
Files in yajianguo/lark-notification-channel
Package lark-notification-channel
Short Description Lark Notifications driver
License MIT
Homepage https://github.com/yajianguo/lark-notification-channel
Informations about the package lark-notification-channel
Lark notifications channel for Laravel
This package makes it easy to send Lark using the Laravel notification system. Supports 5.5+, 6.x, 7.x and 8.x.
Contents
- Installation
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Usage
Now you can use the channel in your via()
method inside the notification:
In order to let your Notification know which URL should receive the Lark data, add the routeNotificationForLark
method to your Notifiable model.
Url or Model POST request.
Available methods
url('')
: Accepts a string value for the Lark url.data('')
: Accepts a JSON-encodable value for the Lark body.query('')
: Accepts an associative array of query string values to add to the request.userAgent('')
: Accepts a string value for the Lark user agent.header($name, $value)
: Sets additional headers to send with the POST Lark.
Changelog
Please see CHANGELOG for more information what has changed recently.
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
- yajianguo Pociot
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of lark-notification-channel with dependencies
guzzlehttp/guzzle Version ^6.2 || ^7.0
illuminate/notifications Version ^6.0 || ^7.0 || ^8.0
illuminate/support Version ^6.0 || ^7.0 || ^8.0