PHPackages                             jianghua/swooledistributedweb - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. jianghua/swooledistributedweb

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

jianghua/swooledistributedweb
=============================

swooledistributed web

3.7.4(7y ago)167111[1 PRs](https://github.com/jianghua/SwooleDistributedWeb/pulls)MITJavaScript

Since Apr 17Pushed 7y ago4 watchersCompare

[ Source](https://github.com/jianghua/SwooleDistributedWeb)[ Packagist](https://packagist.org/packages/jianghua/swooledistributedweb)[ RSS](/packages/jianghua-swooledistributedweb/feed)WikiDiscussions v3 Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (35)Used By (0)

SwooleDistributedWeb v3.7.4
===========================

[](#swooledistributedweb-v374)

内置了监控平台，详见“监控平台说明.txt” ，感谢白猫分享 版本号与swooledistributed保持一致 升级注意：model中如果$return\_result已失效，之前的事务也不支持！
model中目前不支持recv()
默认模板依旧是plates引擎，如果使用blade注释AppServer.php中的setTemplateEngine方法
swoole 分布式全栈框架 web开发增强版，基于SwooleDistributed，水平有限，欢迎指正。
内置demo，包含用户注册、登录、修改信息

Install
-------

[](#install)

You can install via composer

Autoload must specify `app` and `test`.

```
{
  "require": {
    "jianghua/swooledistributedweb":">3.6.0"
  },
 "autoload": {
    "psr-4": {
      "SwooleDistributedWeb\\app\\": "src/app",
      "app\\": "src/app",
      "test\\": "src/test"
    }
  }
}

```

Then execute the following code in the root directory (the vendor higher directory)

```
php vendor/jianghua/swooledistributedweb/src/Install.php

```

The server can be executed in the bin at the end of the installation.

SwooleDistributedWeb 文档

SwooleDistributed
=================

[](#swooledistributed)

High performance, high concurrency, PHP asynchronous distributed framework,power by ext-swoole

Development communication QQ-group：569037921

Simple websocket case

Chat room:

Live Demo:

The official website：

Development document：

Instructional video：[http://v.qq.com/boke/gplay/337c9b150064b5e5bcfe344f11a106c5\_m0i000801b66cfv.html](http://v.qq.com/boke/gplay/337c9b150064b5e5bcfe344f11a106c5_m0i000801b66cfv.html)

Install
-------

[](#install-1)

You can install via composer

Autoload must specify `app` and `test`.

```
{
  "require": {
    "tmtbe/swooledistributed":">2.0.0"
  },
 "autoload": {
    "psr-4": {
      "app\\": "src/app",
      "test\\": "src/test"
    }
  }
}

```

Then execute the following code in the root directory (the vendor higher directory)

```
php vendor/tmtbe/swooledistributed/src/Install.php

```

The server can be executed in the bin at the end of the installation.

Advantage
---------

[](#advantage)

1.High performance and high concurrency, asynchronous event driven

2.HttpClient, client, Mysql, Redis connection pooling

3.Timed task system

4.Coroutine Support

5.Using object pooling mode, optimizing memory allocation and GC

6.Many asynchronous clients, such as MQTT, AMQP, etc.

7.Support cluster deployment

8.User process management

9.Support multi port, multi protocol, automatic conversion between protocols

10.Micro service management based on Consul

11.Automatic discovery of cluster nodes based on Consul

12.Support pubish-subscribe mode

Architecture diagram
--------------------

[](#architecture-diagram)

### Class inheritance structure

[](#class-inheritance-structure)

[![image](https://raw.githubusercontent.com/tmtbe/SwooleDistributed/v2/screenshots/k1.png)](https://raw.githubusercontent.com/tmtbe/SwooleDistributed/v2/screenshots/k1.png)

### Process structure

[](#process-structure)

[![image](https://raw.githubusercontent.com/tmtbe/SwooleDistributed/v2/screenshots/k2.png)](https://raw.githubusercontent.com/tmtbe/SwooleDistributed/v2/screenshots/k2.png)

### Cluster structure

[](#cluster-structure)

[![image](https://raw.githubusercontent.com/tmtbe/SwooleDistributed/v2/screenshots/k3.png)](https://raw.githubusercontent.com/tmtbe/SwooleDistributed/v2/screenshots/k3.png)

web
---

[](#web)

[![image](https://github.com/jianghua/SwooleDistributedWeb/raw/v2/screenshots/login.jpg)](https://github.com/jianghua/SwooleDistributedWeb/blob/v2/screenshots/login.jpg)[![image](https://github.com/jianghua/SwooleDistributedWeb/raw/v2/screenshots/reg.png)](https://github.com/jianghua/SwooleDistributedWeb/blob/v2/screenshots/reg.png)[![image](https://github.com/jianghua/SwooleDistributedWeb/raw/v2/screenshots/profile.jpg)](https://github.com/jianghua/SwooleDistributedWeb/blob/v2/screenshots/profile.jpg)

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity75

Established project with proven stability

 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 ~23 days

Recently: every ~76 days

Total

34

Last Release

2556d ago

Major Versions

0.1.x-dev → 2.5.12017-09-28

2.7.6.2 → 3.0.1-beta2018-03-01

2.7.8 → 3.0.2.22018-03-02

### Community

Maintainers

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

---

Top Contributors

[![jianghua](https://avatars.githubusercontent.com/u/1780001?v=4)](https://github.com/jianghua "jianghua (81 commits)")

---

Tags

webserverswooledistributed

### Embed Badge

![Health badge](/badges/jianghua-swooledistributedweb/health.svg)

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

###  Alternatives

[tmtbe/swooledistributed

In order to develop the api server

1.4k9.5k](/packages/tmtbe-swooledistributed)[mix/grpc

PHP gRPC based on Swoole coroutine, including protoc code generator, server, and client

583.0k3](/packages/mix-grpc)

PHPackages © 2026

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