marko / webhook
Webhook sending package for Marko Framework
0.0.1
2026-03-25 17:53 UTC
Requires
- php: ^8.5
- marko/config: 0.0.1
- marko/core: 0.0.1
- marko/http: 0.0.1
- marko/queue: 0.0.1
- marko/routing: 0.0.1
Requires (Dev)
- marko/testing: 0.0.1
- pestphp/pest: ^4.0
This package is auto-updated.
Last update: 2026-03-25 21:07:33 UTC
README
Send and receive webhooks with HMAC-SHA256 signature verification, automatic retry with exponential backoff, and delivery attempt tracking.
Installation
composer require marko/webhook
Quick Example
use Marko\Webhook\Sending\WebhookDispatcher; use Marko\Webhook\Value\WebhookPayload; $payload = new WebhookPayload( url: 'https://example.com/webhooks', event: 'order.created', data: ['order_id' => 42, 'total' => '99.99'], secret: 'your-shared-secret', ); $response = $webhookDispatcher->dispatch($payload);
Documentation
Full usage, API reference, and examples: marko/webhook