From 6c75c4b929e17deec74833b0425bf03829f3772a Mon Sep 17 00:00:00 2001 From: Mathieu Ledru Date: Thu, 11 May 2023 13:33:02 +0200 Subject: [PATCH] :sparkles: Add webhook support --- composer.json | 3 ++- src/Flow/WebhookFlow.php | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 src/Flow/WebhookFlow.php 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/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); + } +}