leruge/tp6-gateway

此包已被弃用且不再维护。作者建议使用 leruge/chat 包。

适用于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