PHPackages                             psilva-monssa/zaphpa - 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. psilva-monssa/zaphpa

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

psilva-monssa/zaphpa
====================

Intuitive, flexible and powerful HTTP router.

2.1.3(3y ago)094MITPHPPHP &gt;=5.3.0

Since Jan 11Pushed 3y agoCompare

[ Source](https://github.com/psilva-monssa/zaphpa)[ Packagist](https://packagist.org/packages/psilva-monssa/zaphpa)[ Docs](http://zaphpa.org/)[ RSS](/packages/psilva-monssa-zaphpa/feed)WikiDiscussions v2.x Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (9)Used By (0)

Zaphpa
------

[](#zaphpa)

[![Packagist 2.x RC](https://camo.githubusercontent.com/b4e314836a7b05cde0ebd6781afb2aa34029317033c86130e3a62bb2d7821638/687474703a2f2f622e7265706c2e63612f76312f5061636b61676973742d322e782d626c75652e706e67)](https://packagist.org/packages/zaphpa/zaphpa)[![Build Status](https://camo.githubusercontent.com/51180777b240291aacd36701f79c48f5cfd1282859e9f1d5e902dc82b55f28d2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7a61706870612f7a61706870612f6261646765732f6275696c642e706e673f623d76322e78)](https://scrutinizer-ci.com/g/zaphpa/zaphpa/build-status/v2.x)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b5721ab8af9b2d0fdb8426093fe6932931f5b368402ff87773185dd8cc6a3251/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7a61706870612f7a61706870612f6261646765732f7175616c6974792d73636f72652e706e673f623d76322e78)](https://scrutinizer-ci.com/g/zaphpa/zaphpa/?branch=v2.x)[![Codacy Badge](https://camo.githubusercontent.com/2cbb6a82faec9303117e4117b1d508411d0b25a2b8ce071fac515720d504c69a/68747470733a2f2f7777772e636f646163792e636f6d2f70726f6a6563742f62616467652f3966346430373539356233623430323738643239633731323530333761663837)](https://www.codacy.com/public/irakli/zaphpa_2)[![Full documentation](https://camo.githubusercontent.com/cd4df6e24489453fafe8f24b090b6baf576cafd3e7aa0fe3ec28d551ab890ade/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f477261622d446f63756d656e746174696f6e2d627269676874677265656e2e737667)](http://zaphpa.org)

Installing Zaphpa with Composer
-------------------------------

[](#installing-zaphpa-with-composer)

Add `zaphpa/zaphpa` to your `composer.json`.

```
{
  "require": {
    "zaphpa/zaphpa": "^2.1.1"
  }
}

```

##### Full Documentation:

[](#full-documentation-httpzaphpaorg)

If, for whatever reason, you are looking for older version (1.x) of Zaphpa you can download it from:  (not recommended).

Maintainers
-----------

[](#maintainers)

- Irakli Nadareishvili ([inadarei](http://github.com/inadarei))
- John Nelson ([johnymonster](http://github.com/johnymonster))

History
-------

[](#history)

First major user of Zaphpa, in production, was [NPR](http://npr.org)'s API. Zaphpa hugely benefited from this use through meticulous bug-fixing, various contributions and overall creativity of the wonderful NPR software teams.

Zaphpa is now used by a variety of organizations worldwide. If you use Zaphpa and want to be listed here, please open a pull request.

### License &amp; Credits

[](#license--credits)

Released under the MIT open source license. See [LICENSE](LICENSE) for details.

The predecessor to Zaphpa was originally created by [Ioseb Dzmanashvili](http://github.com/iosebi). Project was later adopted and iterated upon by Irakli Nadareishvili.

### Additional contributors:

[](#additional-contributors)

- [Thomas Bracher](https://github.com/ThomasBracher)
- [Paul Williams](https://github.com/paulprogrammer)
- [Jeff Pritchard](https://github.com/jeffpritchard)
- [Andrew Winder](http://github.com/awinder)
- [Randall Randall](http://github.com/randallsquared)
- [Jason Grosman](http://github.com/jsgrosman)
- [Stephan L. Smith](http://github.com/d1b1)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 86.9% 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 ~397 days

Recently: every ~695 days

Total

8

Last Release

1357d ago

Major Versions

1.2.2 → 2.0.0-RC32015-01-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/881def7ecfcc7c43acdb1ed42ba2acc38366efb6d2f49168ae0c4e37822a7dfb?d=identicon)[psilva-monssa](/maintainers/psilva-monssa)

---

Top Contributors

[![inadarei](https://avatars.githubusercontent.com/u/30158?v=4)](https://github.com/inadarei "inadarei (152 commits)")[![ioseb](https://avatars.githubusercontent.com/u/56401?v=4)](https://github.com/ioseb "ioseb (9 commits)")[![jhnlsn](https://avatars.githubusercontent.com/u/137058?v=4)](https://github.com/jhnlsn "jhnlsn (5 commits)")[![psilva-monssa](https://avatars.githubusercontent.com/u/53014989?v=4)](https://github.com/psilva-monssa "psilva-monssa (3 commits)")[![jsgrosman](https://avatars.githubusercontent.com/u/102344?v=4)](https://github.com/jsgrosman "jsgrosman (2 commits)")[![paulprogrammer](https://avatars.githubusercontent.com/u/4042273?v=4)](https://github.com/paulprogrammer "paulprogrammer (2 commits)")[![jaredbiehler](https://avatars.githubusercontent.com/u/684719?v=4)](https://github.com/jaredbiehler "jaredbiehler (1 commits)")[![sadraskol](https://avatars.githubusercontent.com/u/2914331?v=4)](https://github.com/sadraskol "sadraskol (1 commits)")

---

Tags

routing

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/psilva-monssa-zaphpa/health.svg)

```
[![Health](https://phpackages.com/badges/psilva-monssa-zaphpa/health.svg)](https://phpackages.com/packages/psilva-monssa-zaphpa)
```

###  Alternatives

[symfony/routing

Maps an HTTP request to a set of configuration variables

7.6k789.4M1.8k](/packages/symfony-routing)[nikic/fast-route

Fast request router for PHP

5.3k92.4M668](/packages/nikic-fast-route)[altorouter/altorouter

A lightning fast router for PHP

1.3k3.4M68](/packages/altorouter-altorouter)[aura/router

Powerful, flexible web routing for PSR-7 requests.

5231.5M67](/packages/aura-router)[upstatement/routes

Manage rewrites and routes in WordPress with this dead-simple plugin

2072.5M6](/packages/upstatement-routes)[aplus/routing

Aplus Framework Routing Library

2491.6M3](/packages/aplus-routing)

PHPackages © 2026

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