confetticode / standard-webhooks
PHP library for Standard Webhooks
0.1.0
2025-07-01 03:36 UTC
Requires
- php: ^8.2
- ext-json: *
Requires (Dev)
- phpunit/phpunit: ^11.5
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);