PHPackages                             nazg/http-server-request-handler - 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. nazg/http-server-request-handler

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

nazg/http-server-request-handler
================================

PSR-15 like HTTP Server Request Handler Interface

0.6.0(6y ago)016.1k3MITHack

Since Dec 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/nazg-hack/http-server-request-handler)[ Packagist](https://packagist.org/packages/nazg/http-server-request-handler)[ Docs](https://github.com/nazg-hack/http-server-request-handler)[ RSS](/packages/nazg-http-server-request-handler/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (6)Dependencies (8)Versions (7)Used By (3)

HTTP Server Request Handlers
============================

[](#http-server-request-handlers)

PSR-15 Like HTTP Server Request Handlers Interface For Hack

Require
-------

[](#require)

HHVM 3.30.0 and above.
required [hsl-experimental](https://github.com/hhvm/hsl-experimental)

Install
-------

[](#install)

```
$ hhvm $(which composer) require nazg/http-server-request-handler
```

Usage
-----

[](#usage)

Golang style

```
func middleware(next http.HandlerFunc) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		log.Printf("Hello World, %s", r.RequestURI)
		next.ServeHTTP(w, r)
	}
}
```

For Hack

```
handle($write, $request);
  }
}
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

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

Recently: every ~98 days

Total

6

Last Release

2231d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47817f3dd2890864096bd77ee772ec46061432f128988ca23939b0ca486d7bc3?d=identicon)[ytake](/maintainers/ytake)

---

Top Contributors

[![ytake](https://avatars.githubusercontent.com/u/4454078?v=4)](https://github.com/ytake "ytake (9 commits)")

---

Tags

hacklanghhvminterfacesmiddleware-pipelinerequest-handlerrequestmiddlewareserverhhvmhackhttp-handlers

### Embed Badge

![Health badge](/badges/nazg-http-server-request-handler/health.svg)

```
[![Health](https://phpackages.com/badges/nazg-http-server-request-handler/health.svg)](https://phpackages.com/packages/nazg-http-server-request-handler)
```

###  Alternatives

[middlewares/request-handler

Middleware to execute request handlers

451.6M25](/packages/middlewares-request-handler)

PHPackages © 2026

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