Download the PHP package snb4crazy/webhook-manager-laravel without Composer
On this page you can find all versions of the php package snb4crazy/webhook-manager-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package webhook-manager-laravel
webhook-manager-laravel
Queue-aware webhook delivery package for Laravel with HMAC signing, signature verification, retries, and delivery logs.
Features
Webhook::send(...)for outbound webhook deliveryWebhook::verify(...)for inbound signature verificationWebhook::retry(...)for manual replay- Timestamped SHA-256 HMAC signature header (
t=<ts>,v1=<hmac>) - Queue-driven delivery with configurable retries/backoff
webhook_deliveriestable for observability and replay workflows
Requirements
| Dependency | Version |
|---|---|
| PHP | 8.2+ |
| Laravel | 10-13 |
Installation
Option A: Before Packagist (GitHub VCS)
Use this until the package is published on Packagist.
-
Add repository source in your app
composer.json: - Require the package from the
masterbranch:
Option B: After Packagist (recommended)
Once v0.1.0 is tagged and synced to Packagist:
Then run the same setup steps:
-
Publish config + migrations and migrate:
- If queue delivery is enabled (default), run a queue worker:
Configuration
Set package options in .env:
Quick start
Send a webhook
Verify an incoming webhook
Retry a failed delivery
Delivery logs
Each call to Webhook::send() creates/updates a row in webhook_deliveries:
status:pending,delivered,failedattempts,max_attempts,last_attempt_at,delivered_atresponse_status,last_error, optionalresponse_body- stored
payload,headers, and generatedsignature
This table is useful for admin screens, incident investigation, and manual replay tools.
User stories
| Story | How to do it with this package |
|---|---|
| As a SaaS provider, I need to notify customers when an event happens. | Call Webhook::send($url, $payload, ['event' => '...']) from your domain event listener/job. |
| As a receiver, I need to trust only authentic webhook calls. | Validate X-Webhook-Signature with Webhook::verify($rawBody, $signature, $secret). |
| As an operator, I need to recover from transient outages. | Keep queue mode enabled, tune WEBHOOK_MANAGER_MAX_ATTEMPTS, and use Webhook::retry($deliveryId) for manual replay. |
| As a support engineer, I need auditability for deliveries. | Query the webhook_deliveries table for failures, response codes, and attempt history. |
Recommended badges
Already included above:
- License
- Latest release
- PHP support
- Laravel support
- Last commit
Useful additions once available:
- CI status (
github/actions/workflow/status/...) after adding GitHub Actions - Code coverage (Codecov/Coveralls) after publishing coverage reports
- Packagist version/downloads after package publication on Packagist
Testing
License
MIT
All versions of webhook-manager-laravel with dependencies
illuminate/contracts Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
illuminate/queue Version ^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0