xaraya/with-symfony 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. src/Webhook/: hello-symfony request parser
  2. src/RemoteEvent/: hello-symfony webhook consumer
  3. config/packages/framework.yaml: hello-symfony webhook 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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-04-11