leruge / tp6-gateway
This package is abandoned and no longer maintained.
The author suggests using the leruge/chat package instead.
适用于thinkphp6的gatewayworker扩展
1.0.8
2021-10-09 04:19 UTC
Requires
- php: >=7.1.0
- topthink/framework: ^6.0.0
- workerman/gateway-worker: ^3.0
- workerman/gatewayclient: ^3.0
README
安装
composer require leruge/tp6-gateway
使用方式
- 安装完成以后会在config下生成gateway.php配置文件,没有的话自行复制
- win下需要启动3条命令
php think register
php think business
php think gateway
- linux下启动一条即可
php think socket
,'start', 'stop', 'reload', 'restart', 'status', 'connections',跟gatewayworker命令一样
版本更新内容
1.0.8
- 依赖的扩展包增加了
workerman/gatewayclient
- linux下启动文件
SocketStart.php
修改为Socket.php
1.0.7
- 自定义register进程名称
- linux下启动命令修改为socket