confetticode/standard-webhooks

PHP library for Standard Webhooks

0.1.0 2025-07-01 03:36 UTC

This package is auto-updated.

Last update: 2025-07-01 03:41:22 UTC


README

PHP library for Standard Webhooks

Code is copied purely from Standard Webhooks

Requirements

  • PHP: ^8.2

Installation

Install confetticode/standard-webhooks via Composer.

composer install confetticode/standard-webhooks

Usage

Verifying a webhook payload:

require __DIR__ . '/vendor/autoload.php';

$wh = new \StandardWebhooks\Webhook($base64Secret);
$wh->verify($webhookPayload, $webhookHeaders);