FindSoftware

Dispatch

Micro-routing library for PHP that maps HTTP requests to handler functions.

Dispatch is a PHP library of global functions for routing HTTP requests. A script registers handlers with route() for an HTTP method and path, adds middleware with apply(), and calls dispatch() to run the matching handler. The README also lists helpers for named route parameters, responses, redirects, values shared within a request, and PHP templates through phtml().

The library is a single dispatch.php file that the application requires.

Identity

Status
Active
Maintainer
noodlehaus3
Maintained by
Individual3

Rendering and deploy

Install with
dispatch.php as a standalone PHP file4

Releases

Current major version
113
Last release
2023-04-113

Adoption

GitHub stars
5376
Packagist downloads
1,5385
Packagist downloads a month
428
Dependent repositories
27

Why these figures do not compare

Sources

  1. 2026-10-20: links, Written in
    github.com/noodlehaus/dispatch
  2. 2026-10-20: links, License, License model
    github.com/noodlehaus/dispatch/blob/master/README.markdown
  3. 2026-10-20: Maintainer, Maintained by, Categories, Runtime, Minimum runtime, Current major version, Last release
    repo.packagist.org/p2/noodlehaus/dispatch.json
  4. 2026-10-20: Install with
    raw.githubusercontent.com/noodlehaus/dispatch/master/README.markdown
  5. 2026-10-20: Packagist downloads
    packagist.org/packages/noodlehaus/dispatch.json
  6. 2026-10-20: GitHub stars
    api.github.com/repos/noodlehaus/dispatch
  7. 2026-10-25: Dependent repositories
    packages.ecosyste.ms/api/v1/registries/packagist.org/packages/noodlehaus%2Fdispatch
  8. 2026-10-25: Packagist downloads a month
    packagist.org/packages/noodlehaus/dispatch/stats.json

Last reviewed · Updated · Listed since Edit on GitHubThis page as markdownas JSON