spatie/laravel-webhook-server
Send webhooks from Laravel with configurable endpoints, payloads and headers. Supports request signing, queued delivery, retries with backoff, and failure handling. Ideal for notifying external services when events happen in your app.
Guzzle 8 is now supported alongside Guzzle 6 and 7.
Guzzle 8 removes RequestException::getResponse(), keeps the casing of the HTTP method you pass in, and only accepts string header values. All three are handled, so webhooks keep going out as POST and useTimestamp() keeps working. The test matrix now runs against both Guzzle 7 and 8.
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.10.0...3.11.0
The timestamp header helps prevent replay attacks. You can enable it by calling useTimestamp():
WebhookCall::create()
->useTimestamp()
->url('https://example.com/webhooks')
->useSecret('my-secret')
->payload(['key' => 'value'])
->dispatch();
The header name defaults to Timestamp and can be configured via the timestamp_header_name config key.
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.8.2...3.8.3
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.8.1...3.8.2
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.8.0...3.8.1
3.8.0
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.7.0...3.8.0
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.6.0...3.7.0
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.5.0...3.6.0
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.4.3...3.5.0
$response, $errorType and $errorMessage in CallWebhookJob by @Kazuto in https://github.com/spatie/laravel-webhook-server/pull/143Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.4.2...3.4.3
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.4.1...3.4.2
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.4.0...3.4.1
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.3.0...3.4.0
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.2.1...3.3.0
CallWebhookJob to use a GuzzleHttp\Client specific for outgoing webhooks by @bezhermoso in https://github.com/spatie/laravel-webhook-server/pull/125Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.2.0...3.2.1
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.1.2...3.2.0
Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.1.0...3.1.1
dispatchSync() by @expertcoder in https://github.com/spatie/laravel-webhook-server/pull/96Full Changelog: https://github.com/spatie/laravel-webhook-server/compare/3.0.0...3.1.0
dispatchSyncgetUuidHow can I help you explore Laravel packages today?