PHPackages                             gatewaynb/nb - 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. gatewaynb/nb

ActiveProject

gatewaynb/nb
============

这是我描述

v1.0(7y ago)021MITPHP

Since Nov 30Pushed 7y ago1 watchersCompare

[ Source](https://github.com/liunian123/gatewaynb)[ Packagist](https://packagist.org/packages/gatewaynb/nb)[ RSS](/packages/gatewaynb-nb/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (1)Used By (1)

GatewayWorker windows 版本
========================

[](#gatewayworker-windows-版本)

GatewayWorker基于[Workerman](https://github.com/walkor/Workerman)开发的一个项目框架，用于快速开发长连接应用，例如app推送服务端、即时IM服务端、游戏服务端、物联网、智能家居等等。

GatewayWorker使用经典的Gateway和Worker进程模型。Gateway进程负责维持客户端连接，并转发客户端的数据给Worker进程处理；Worker进程负责处理实际的业务逻辑，并将结果推送给对应的客户端。Gateway服务和Worker服务可以分开部署在不同的服务器上，实现分布式集群。

GatewayWorker提供非常方便的API，可以全局广播数据、可以向某个群体广播数据、也可以向某个特定客户端推送数据。配合Workerman的定时器，也可以定时推送数据。

GatewayWorker Linux 版本
======================

[](#gatewayworker-linux-版本)

Linux 版本GatewayWorker 在这里

启动
==

[](#启动)

双击start\_for\_win.bat

Applications\\YourApp测试方法
=========================

[](#applicationsyourapp测试方法)

使用telnet命令测试（不要使用windows自带的telnet）

```
 telnet 127.0.0.1 8282
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Hello 3
3 login
haha
3 said haha
```

手册
==

[](#手册)

使用GatewayWorker-for-win开发的项目
============================

[](#使用gatewayworker-for-win开发的项目)

[tadpole](http://kedou.workerman.net/)
--------------------------------------

[](#tadpole)

[Live demo](http://kedou.workerman.net/)
[Source code](https://github.com/walkor/workerman)
[![workerman-todpole](https://camo.githubusercontent.com/de65f69541236da9275b319561d7c11a65f4d941ffc7eb5814f164cc3f8737e7/687474703a2f2f7777772e776f726b65726d616e2e6e65742f696d672f776f726b65726d616e2d746f64706f6c652e706e67)](https://camo.githubusercontent.com/de65f69541236da9275b319561d7c11a65f4d941ffc7eb5814f164cc3f8737e7/687474703a2f2f7777772e776f726b65726d616e2e6e65742f696d672f776f726b65726d616e2d746f64706f6c652e706e67)

[chat room](http://chat.workerman.net/)
---------------------------------------

[](#chat-room)

[Live demo](http://chat.workerman.net/)
[Source code](https://github.com/walkor/workerman-chat)
[![workerman-chat](https://camo.githubusercontent.com/538edc71fe88995245709761d9627297dabe4ce11f1a88efb550700f973266c7/687474703a2f2f7777772e776f726b65726d616e2e6e65742f696d672f776f726b65726d616e2d636861742e706e67)](https://camo.githubusercontent.com/538edc71fe88995245709761d9627297dabe4ce11f1a88efb550700f973266c7/687474703a2f2f7777772e776f726b65726d616e2e6e65742f696d672f776f726b65726d616e2d636861742e706e67)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Unknown

Total

1

Last Release

2722d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a1d1a03f9e60240994f19a75c78b20069f89526a8e7eeca30fda0b4af4d627a1?d=identicon)[liunian123](/maintainers/liunian123)

---

Top Contributors

[![liunian123](https://avatars.githubusercontent.com/u/20596693?v=4)](https://github.com/liunian123 "liunian123 (26 commits)")

### Embed Badge

![Health badge](/badges/gatewaynb-nb/health.svg)

```
[![Health](https://phpackages.com/badges/gatewaynb-nb/health.svg)](https://phpackages.com/packages/gatewaynb-nb)
```

PHPackages © 2026

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