Skip to content

Installation

phil/standard-webhooks-bundle
RequirementConstraintWhy
PHP>=8.5The declared minimum
phil/standard-webhooks^0.1@devThe protocol: headers, keys, signatures, verification; it requires ext-sodium
symfony/dependency-injection, symfony/config^8.2The bundle class and its configuration
symfony/http-foundation, symfony/http-kernel^8.2The VerifiedWebhook controller argument
psr/clock^1.0The time a delivery is checked and signed at; the container's clock service, which FrameworkBundle registers once symfony/clock is installed
symfony/http-clientoptionalWebhookSender
doctrine/dbal, doctrine/orm, DoctrineBundleoptionalThe processed ids in a table
symfony/consoleoptionalphil:standard-webhooks:generate-key
composer require phil/standard-webhooks-bundle:^0.1@dev
// config/bundles.php
return [
    // ...
    Phil\StandardWebhooksBundle\PhilStandardWebhooksBundle::class => ['all' => true],
];

Then generate keys and configure them: configuration.md.

With DoctrineBundle, the bundle adds its table to the schema of its connection: create it with a migration.

bin/console doctrine:migrations:diff