多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
- 设置为websocket服务.将swoole.php下的`websocket['enable']`设置为`true` - 在项目根目录下执行以下命令 ``` php think swoole start ``` 输出: ![](https://img.kancloud.cn/f3/1f/f31f76f50bbc6a8e0c9654b2204e9667_386x75.png) 通常还会用到以下两个命令: ``` php think swoole restart ``` ``` php think swoole stop ``` 对执行流程感兴趣的可以在`vendor\topthink\think-swoole\src\command\Server.php`文件中查看源代码.