Download the PHP package healthengine/laravel-webhook-channel without Composer
On this page you can find all versions of the php package healthengine/laravel-webhook-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download healthengine/laravel-webhook-channel
More information about healthengine/laravel-webhook-channel
Files in healthengine/laravel-webhook-channel
Package laravel-webhook-channel
Short Description Webhook Notifications driver
License MIT
Homepage https://github.com/healthengineau/laravel-webhook-channel
Informations about the package laravel-webhook-channel
Warning
This package is not maintained.
Please use laravel-notification-channels/webhook instead.
Webhook notifications channel for Laravel
This package makes it easy to send webhooks using the Laravel 5.5 notification system.
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 Webhook data, add the routeNotificationForWebhook
method to your Notifiable model.
This method needs to return the URL where the notification Webhook will receive a POST request.
Available methods
data('')
: Accepts a JSON-encodable value for the Webhook body.userAgent('')
: Accepts a string value for the Webhook user agent.header($name, $value)
: Sets additional headers to send with the POST Webhook.
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
- Marcel Pociot
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-webhook-channel with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/notifications Version ^8.0 || ^9.0
illuminate/support Version ^8.0 || ^9.0