marko/webhook

Webhook sending package for Marko Framework

Maintainers

Package info

github.com/marko-php/marko-webhook

pkg:composer/marko/webhook

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

0.0.1 2026-03-25 17:53 UTC

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