PHPackages                             h4cc/mongrel2 - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. h4cc/mongrel2

ActiveLibrary[HTTP &amp; Networking](/categories/http)

h4cc/mongrel2
=============

A library for handling Mongrel2 messages via ZeroMQ.

014[1 issues](https://github.com/h4cc/mongrel2/issues)PHP

Since Sep 7Pushed 11y ago1 watchersCompare

[ Source](https://github.com/h4cc/mongrel2)[ Packagist](https://packagist.org/packages/h4cc/mongrel2)[ RSS](/packages/h4cc-mongrel2/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

h4cc/mongrel2
=============

[](#h4ccmongrel2)

A Handler library for Mongrel2 and the according ZeroMQ message protocol.

This library is capable of reading requests and writing responses in mongrel2 message format over zeromq. The resulting data objects are `Request` and `Response`, which are modelled after the PHP SAPI with its `$_GET, $_POST, $_SERVER, ...` arrays.

Usage
-----

[](#usage)

Have a look at `example/handler.php`.

Current State
-------------

[](#current-state)

The mapping of requests is quite complete, except the handling of file uploads and populating the `$_FILES` array due to a missing `multipart/*` parser.

Also more complex scenarios like async-file-uploads or websockets are not yet handled.

Any help in improving this library is appreciated :)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ce109f0fc05421b5db21c1f35e9ff78be9bae38f5b6e3bd6121f2eb2417cf53?d=identicon)[h4cc](/maintainers/h4cc)

---

Top Contributors

[![h4cc](https://avatars.githubusercontent.com/u/2981491?v=4)](https://github.com/h4cc "h4cc (6 commits)")

### Embed Badge

![Health badge](/badges/h4cc-mongrel2/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M91](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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