composer require microphp/workerman
composer require microphp/roadrunner
- 安装roadrunner二进制文件
php bin/console roadrunner:get
- 修改.env中驱动
SERVER_DRIVER=roadrunner
composer require microphp/swoole
- 修改.env中驱动
SERVER_DRIVER=swoole
- 发布配置
php bin/console config:publish swoole
composer require microphp/amp
php bin/console start
composer cs ./app