Skip to content

micro-php-code/microphp

Repository files navigation

安装驱动

一. 使用workerman驱动

composer require microphp/workerman

二. 使用roadrunner驱动

composer require microphp/roadrunner
  1. 安装roadrunner二进制文件
    php bin/console roadrunner:get
  2. 修改.env中驱动
    SERVER_DRIVER=roadrunner

三. 使用swoole驱动

composer require microphp/swoole
  1. 修改.env中驱动
    SERVER_DRIVER=swoole
  2. 发布配置
    php bin/console config:publish swoole

四. 使用AMP驱动

composer require microphp/amp

运行

php bin/console start

格式化代码

composer cs ./app

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages