PHPackages                             leruge/tp6-gateway - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. leruge/tp6-gateway

Abandoned → [leruge/chat](/?search=leruge%2Fchat)Library[Utility &amp; Helpers](/categories/utility)

leruge/tp6-gateway
==================

适用于thinkphp6的gatewayworker扩展

1.0.8(4y ago)0396MITPHPPHP &gt;=7.1.0

Since Dec 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/leruge/tp6-gateway)[ Packagist](https://packagist.org/packages/leruge/tp6-gateway)[ RSS](/packages/leruge-tp6-gateway/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

gateway扩展包
==========

[](#gateway扩展包)

安装
--

[](#安装)

`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

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~43 days

Recently: every ~72 days

Total

8

Last Release

1728d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b2518593dfbc67ba8bc8e39bb30541fa3d8a7002f87240f2f8a6b99f26e4c9eb?d=identicon)[leruge@163.com](/maintainers/leruge@163.com)

---

Top Contributors

[![leruge](https://avatars.githubusercontent.com/u/33196309?v=4)](https://github.com/leruge "leruge (1 commits)")

### Embed Badge

![Health badge](/badges/leruge-tp6-gateway/health.svg)

```
[![Health](https://phpackages.com/badges/leruge-tp6-gateway/health.svg)](https://phpackages.com/packages/leruge-tp6-gateway)
```

###  Alternatives

[topthink/think-captcha

captcha package for thinkphp

117970.1k74](/packages/topthink-think-captcha)[topthink/think-worker

workerman extend for thinkphp

216235.9k9](/packages/topthink-think-worker)[yunwuxin/think-cron

计划任务

17317.4k](/packages/yunwuxin-think-cron)[liliuwei/thinkphp-jump

适用于thinkphp6.0+的跳转扩展

2876.7k1](/packages/liliuwei-thinkphp-jump)[topthink/think-annotation

Annotation For ThinkPHP

4833.6k8](/packages/topthink-think-annotation)[ichynul/tpextmyadmin

thinkphp extension

141.6k](/packages/ichynul-tpextmyadmin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
