webhook
webhook copied to clipboard
Webhook notifications channel for Laravel
Adds the ability to send data as form encoded data
Can support for Laravel 11 be added please
Added `http()` to allow setting HTTP options such as timeout value as requested in #46.
Thanks for the great package! How should I set the timeout value when sending a webhook? We would like to timeout the webhook if the response is very long.
composer -W -n require laravel-notification-channels/webhook Problem 1 - Root composer.json requires laravel/framework ^8.65, found laravel/framewo rk[v8.65.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require....
What we need is the ability for a single notification-notifiable combo to have multiple destination webhooks. Maybe check if `routeNotificationForWebhook()` returns an array and iterate through them?
The `json` option essentially does what the code is doing now (calling `json_encode`) along with setting the `Content-Type` header to `application/json`. --- This will automatically set the appropriate Content-Type header[1]...
This pull request introduces a new `method` function in the `WebhookMessage` class. This function allows setting the HTTP method for the webhook request. The HTTP method can be any valid...
Cn you please update for Laravel 12?
This is an automated pull request from [Shift](https://laravelshift.com) to update your package code and dependencies to be compatible with Laravel 12.x. **Before merging**, you need to: - Checkout the `l12-compatibility`...