PHPackages                             rephp/rephp-swoole - 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. rephp/rephp-swoole

ActiveLibrary[Framework](/categories/framework)

rephp/rephp-swoole
==================

rephp框架的swoole扩展

1.0.9(2y ago)0251MITPHPPHP &gt;=5.6.0

Since Aug 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/rephp/rephp-swoole)[ Packagist](https://packagist.org/packages/rephp/rephp-swoole)[ RSS](/packages/rephp-rephp-swoole/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (1)

rephp-swoole
============

[](#rephp-swoole)

### 一、目录信息

[](#一目录信息)

1. src/app 为rephp框架加载安装rephp-swoole后要复制的应用代码
2. src/config 为rephp框架安装rephp-swoole后要复制的配置

### 二、运行

[](#二运行)

以websocket为例，安装代码完毕后，可通过执行:

1. linux系统 php cmd swoole/websocket/run
2. windows系统 swoole-cli cmd swoole/websocket/run

### 三、应用：

[](#三应用)

1. 所有的逻辑都放在logic文件中，每个文件中只有一个入口函数：doMessasge
2. 所有websocket客户端请求都应携带logic参数，对应logic文件名主名如demoLogic

### 三、请求：

[](#三请求)

1. 以websocket为例，根据配置连接websocket服务端。默认服务端地址为: ws://127.0.0.1:9502
2. 发送指定格式json信息为内容到websocket服务端。

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

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

Total

2

Last Release

1059d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/78457739?v=4)[rephp](/maintainers/rephp)[@rephp](https://github.com/rephp)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/rephp-rephp-swoole/health.svg)

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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