PHPackages                             flysnow/flysocket - 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. [Framework](/categories/framework)
4. /
5. flysnow/flysocket

ActiveProject[Framework](/categories/framework)

flysnow/flysocket
=================

flysocket是一款基于GatewayWorker的长连接MVC开发框架，适用于前后端通过长连接进行通讯的web项目，同时也适用于开发tcp长连接应用如即时通信、物联网、消息推送、智能家居等

1.0(5y ago)8302MITPHPPHP &gt;=7.1.0

Since Sep 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/feixuekeji/flysocket)[ Packagist](https://packagist.org/packages/flysnow/flysocket)[ Docs](http://www.workerman.net)[ RSS](/packages/flysnow-flysocket/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

> ### 关于flysocket
>
> [](#关于flysocket)

flysocket是一款基于GatewayWorker开发的的支持双向通信长连接websocketMVC开发框架，适用于前后端通过长连接进行通讯的web项目,游戏服务器，同时也适用于开发tcp长连接应用如即时通信、物联网、消息推送、智能家居等。

>

开发初衷是为了实现客户端（包括浏览器web，APP，小程序，物联网设备）与服务端通信使用统一的socket长连接接口,开发一套接口用于多种客户端，服务器与客户端保持长连接，启动后常驻内存，解决传统FPM模式每次连接都要初始化以及释放连接浪费系统资源的问题。

框架是一个通过websocket协议的MVC框架，前后端数据以json格式传输，框架多处参考thinkPHP，用法也尽量保持了跟tp方法一致，跟传统http项目一样容易上手。

>

由于个人能力有限，开发时间短，系统各种不足之处欢迎各位指正

>

主要模块：
-----

[](#主要模块)

- 自动加载
- 路由分发
- 控制器
- 模型使用ThinkOrm集成
- 日志类
- 缓存类
- 静态调用
- 验证器

\##项目文档请移步

- [开发文档](https://www.kancloud.cn/xiongfeifei/ver1)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

2071d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74401ea6079f0feca76a94d4fd0d737a5a8bffe4fa795024b51bb152f451b565?d=identicon)[flysnow](/maintainers/flysnow)

---

Top Contributors

[![feixuekeji](https://avatars.githubusercontent.com/u/10436807?v=4)](https://github.com/feixuekeji "feixuekeji (45 commits)")

### Embed Badge

![Health badge](/badges/flysnow-flysocket/health.svg)

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

###  Alternatives

[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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