{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/dispatch/","markdown":"https://findsoftware.frbit.cloud/dispatch.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"dispatch","name":"Dispatch","urls":{"repository":"https://github.com/noodlehaus/dispatch","docs":"https://github.com/noodlehaus/dispatch/blob/master/README.markdown"},"category":["framework","library"],"description":"Micro-routing library for PHP that maps HTTP requests to handler functions.","maintainer":"noodlehaus","maintainerType":"individual","hosting":["php"],"language":"php","runtime":["php"],"runtimeMin":"php 8.0","installMethod":"dispatch.php as a standalone PHP file","licenseModel":"open-source","license":"MIT","currentMajor":"11","latestReleaseDate":"2023-04-11T00:00:00.000Z","githubStargazers":537,"packagistDownloads":1538,"npmWeeklyDownloads":null,"packagistMonthlyDownloads":42,"dependentRepos":2,"checkedAt":"2026-10-20T00:00:00.000Z","addedAt":"2026-10-20T00:00:00.000Z","sources":[{"field":"urls","url":"https://github.com/noodlehaus/dispatch","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"urls","url":"https://github.com/noodlehaus/dispatch/blob/master/README.markdown","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"maintainer","url":"https://repo.packagist.org/p2/noodlehaus/dispatch.json","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"maintainerType","url":"https://repo.packagist.org/p2/noodlehaus/dispatch.json","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"category","url":"https://repo.packagist.org/p2/noodlehaus/dispatch.json","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"language","url":"https://github.com/noodlehaus/dispatch","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"runtime","url":"https://repo.packagist.org/p2/noodlehaus/dispatch.json","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"runtimeMin","url":"https://repo.packagist.org/p2/noodlehaus/dispatch.json","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/noodlehaus/dispatch/master/README.markdown","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"license","url":"https://github.com/noodlehaus/dispatch/blob/master/README.markdown","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/noodlehaus/dispatch/blob/master/README.markdown","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"currentMajor","url":"https://repo.packagist.org/p2/noodlehaus/dispatch.json","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://repo.packagist.org/p2/noodlehaus/dispatch.json","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"packagistDownloads","url":"https://packagist.org/packages/noodlehaus/dispatch.json","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"packagistDownloads","url":"https://packagist.org/packages/noodlehaus/dispatch.json","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/noodlehaus/dispatch","checkedAt":"2026-10-20T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/noodlehaus%2Fdispatch","checkedAt":"2026-10-25T00:00:00.000Z"},{"field":"packagistMonthlyDownloads","url":"https://packagist.org/packages/noodlehaus/dispatch/stats.json","checkedAt":"2026-10-25T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"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](https://github.com/noodlehaus/dispatch/blob/master/README.markdown) also lists helpers for named route parameters, responses, redirects, values shared within a request, and PHP templates through `phtml()`.\n\nThe library is a single `dispatch.php` file that the application requires."}