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

This package is auto-updated.

Last update: 2022-07-25 05:38:38 UTC


README

安装

composer require leruge/tp6-gateway

使用方式

  1. 安装完成以后会在config下生成gateway.php配置文件,没有的话自行复制
  2. win下需要启动3条命令
    1. php think register
    2. php think business
    3. php think gateway
  3. linux下启动一条即可
    1. php think socket,'start', 'stop', 'reload', 'restart', 'status', 'connections',跟gatewayworker命令一样

版本更新内容

1.0.8

  1. 依赖的扩展包增加了workerman/gatewayclient
  2. linux下启动文件SocketStart.php修改为Socket.php

1.0.7

  1. 自定义register进程名称
  2. linux下启动命令修改为socket