承接 yangusik/symfony-spawn 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

yangusik/symfony-spawn

最新稳定版本:v0.2.1

Composer 安装命令:

composer require yangusik/symfony-spawn

包简介

Symfony adapter for PHP TrueAsync — async HTTP server with coroutine-per-request isolation

README 文档

README

Symfony adapter for PHP TrueAsync.

Requirements

  • PHP 8.6+ with the TrueAsync extension
  • Symfony 7.0 or 8.0
  • ext-pcntl, ext-pdo

Installation

composer require yangusik/symfony-spawn
// config/bundles.php
Spawn\Symfony\TrueAsyncBundle::class => ['all' => true],

The runtime is registered automatically via composer.json. That's it.

Running

php bin/console async:serve

php bin/console async:serve --host=0.0.0.0 --port=9000

FrankenPHP worker mode is detected automatically via FRANKENPHP_WORKER.

Doctrine

When doctrine/orm is installed, the bundle automatically enables TrueAsync's PDO connection pool and isolates transaction state per coroutine.

Default pool settings (override in config/packages/true_async.yaml):

true_async:
    db_pool:
        enabled: true
        min: 2
        max: 10
        healthcheck_interval: 30

License

MIT

统计信息

  • 总下载量: 27
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 10
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固