File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed
Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 11### 安装驱动
22#### 一. 使用workerman驱动
33``` shell
4- composer require microphp/workerman
4+ composer require microphp/workerman
55```
66
77#### 二. 使用roadrunner驱动
88``` shell
9- composer require microphp/roadrunner
9+ composer require microphp/roadrunner
1010```
1111
12121 . 安装roadrunner二进制文件
1313 ``` shell
14- php bin/console roadrunner:get
14+ php bin/console roadrunner:get
1515 ```
16162. 修改.env中驱动
1717 ` ` ` dotenv
18- SERVER_DRIVER=roadrunner
18+ SERVER_DRIVER=roadrunner
1919 ` ` `
2020# ### 三. 使用swoole驱动
2121` ` ` shell
22- composer require microphp/swoole
22+ composer require microphp/swoole
2323` ` `
2424
25251. 修改.env中驱动
2626 ` ` ` dotenv
27- SERVER_DRIVER=swoole
27+ SERVER_DRIVER=swoole
28+ ` ` `
29+ 2. 发布配置
30+ ` ` ` shell
31+ php bin/console config:publish swoole
32+ ` ` `
2833
2934# ## 运行
3035` ` ` shell
31- php bin/console start
36+ php bin/console start
3237` ` `
3338
3439
3540# ## 格式化代码
3641` ` ` shell
37- composer cs ./app
42+ composer cs ./app
3843` ` `
You can’t perform that action at this time.
0 commit comments