diff --git a/composer.json b/composer.json index 0e4d5979..4261ab18 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,8 @@ "react/async": "4.x-dev", "symfony/doctrine-messenger": "^6.3", "symfony/messenger": "^6.3", - "symfony/orm-pack": "^2.3" + "symfony/orm-pack": "^2.3", + "symfony/webhook": "^6.3" }, "suggest": { "amphp/amp": "Provide asynchronous with AMP", diff --git a/docs/src/content/en/docs/getting-started/changelog.md b/docs/src/content/en/docs/getting-started/changelog.md index 4da9c6b8..0390b0ee 100644 --- a/docs/src/content/en/docs/getting-started/changelog.md +++ b/docs/src/content/en/docs/getting-started/changelog.md @@ -17,6 +17,7 @@ toc: true - Upgrade to Symfony 6.3 - Refactor docs structure +- Add Webhooks from https://speakerdeck.com/fabpot/symfonycon-2022-keynote-webhooks ### 1.1.2 diff --git a/src/Flow/WebhookFlow.php b/src/Flow/WebhookFlow.php new file mode 100644 index 00000000..25016e61 --- /dev/null +++ b/src/Flow/WebhookFlow.php @@ -0,0 +1,27 @@ +flow->fn($flow); + } +}