xaraya/with-symfony
最新稳定版本:2.9.0
Composer 安装命令:
composer require xaraya/with-symfony
包简介
Integrate Xaraya with Symfony applications
README 文档
README
This is a basic Symfony Framework application with a Webhook request parser and matching Remote Event webhook listener
Note: the namespace was changed from App\ to Xaraya\SymfonyApp\ to avoid conflicts on loading with third party frameworks
To handle /webhook/hello-symfony requests:
- src/Webhook/:
hello-symfonyrequest parser - src/RemoteEvent/:
hello-symfonywebhook consumer - config/packages/framework.yaml:
hello-symfonywebhook routing
You could use one of the Symfony Mailer or Notifier packages and bundles as consumer, switch to async/queued messages with retries etc.
Adding webhooks
Use Symfony Maker to create new webhooks:
$ bin/console make:webhook github created: src/Webhook/GithubRequestParser.php created: src/RemoteEvent/GithubWebhookConsumer.php updated: config/packages/webhook.yaml Success!
统计信息
- 总下载量: 41
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 2
其他信息
- 授权协议: Unknown
- 更新时间: 2024-04-11