PHPackages                             mongdch/mon-http - 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. [API Development](/categories/api)
4. /
5. mongdch/mon-http

ActiveLibrary[API Development](/categories/api)

mongdch/mon-http
================

The FPM and Workerman HTTP Server

1.3.8(1mo ago)12461MITPHPPHP &gt;=7.4

Since Aug 30Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/MonGDCH/mon-http)[ Packagist](https://packagist.org/packages/mongdch/mon-http)[ Docs](https://github.com/MonGDCH)[ RSS](/packages/mongdch-mon-http/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (54)Used By (1)

mon-http
--------

[](#mon-http)

支持`workerman`、`fpm`多种请求方式的http服务

### 实现功能

[](#实现功能)

- 基于`workerman`的http服务器
- 基于`fast-route`的路由支持
- 中间件`Middleware`支持，内置`Cors`跨域、`Firewall`防火墙、`Logger`日志、`Throttle`限流等中间件
- `Session`支持
- `fpm`访问支持
- 依赖注入支持

### 文档

[](#文档)

[查看文档](/doc/Home.md)

### 使用

[](#使用)

##### 直接作为HTTP服务器使用

[](#直接作为http服务器使用)

请参考`example\workerman.php`文件实现

##### 作为`mongdch\gaia`框架的HTTP服务

[](#作为mongdchgaia框架的http服务)

1. `composer`安装完成后，执行`gaia vendor:publish mon\http`发布组件代码
2. 按需修改安装完成后创建的`process\Http`进程控制文件
3. 按需修改安装完成后创建的`config\http`目录下的配置文件
4. 在`process\Http`进程控制文件定义路由
5. 重启`Gaia`服务，访问定义的路由

更多请查看`example`目录相关demo

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance90

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 54.7% 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 ~25 days

Recently: every ~17 days

Total

53

Last Release

47d ago

PHP version history (4 changes)1.0.0PHP &gt;=7.0.0

1.0.1PHP &gt;=7.2.0

1.3.0PHP &gt;=8.0

1.3.2PHP &gt;=7.4

### Community

Maintainers

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

---

Top Contributors

[![MonGDCH](https://avatars.githubusercontent.com/u/19282393?v=4)](https://github.com/MonGDCH "MonGDCH (75 commits)")[![monton-gif](https://avatars.githubusercontent.com/u/53856623?v=4)](https://github.com/monton-gif "monton-gif (54 commits)")[![zhaobincheng](https://avatars.githubusercontent.com/u/110520511?v=4)](https://github.com/zhaobincheng "zhaobincheng (8 commits)")

---

Tags

apihttp serverfastworkerman

### Embed Badge

![Health badge](/badges/mongdch-mon-http/health.svg)

```
[![Health](https://phpackages.com/badges/mongdch-mon-http/health.svg)](https://phpackages.com/packages/mongdch-mon-http)
```

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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