NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #507 most downloaded on Packagist
Fast request router for PHP
Last release 3 months ago
09 Jul 2026
Ships unpredictably
gaps range from 3 weeks to 6.1 years
Most releases are documented
notes for 9 of 14 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
15 releases · first in 2014
This is a pre-release of FastRoute containing all recent improvements. It's meant for enabling downstream testing, specially the detection of unexpect
This is a pre-release of FastRoute containing all recent improvements.
It's meant for enabling downstream testing, specially the detection of unexpected BC-breaks.
In the meantime we'll be updating the documentation and dealing with any undesired breakage.
Check all changes in https://github.com/nikic/FastRoute/milestone/1?closed=1
This release ports the .gitattributes configuration to reduce the size of distribution files.
This release ports the .gitattributes configuration to reduce the size
of distribution files.
One column per quarter.
Improve type usage in doc comments.
Added support for route groups .
RouteCollector properties protected instead of private.If the cacheDisabled option is enabled, the cache file is no longer written. Previously it was not read, but still written.
Placeholder names may now start with an underscore ( _ ) character.
Placeholder names may now start with an underscore (_) character.
This is a re-release of version 0.8.0 without code changes. Given the number of dependent projects there should be a formally stable release :)
This is a re-release of version 0.8.0 without code changes. Given the number of dependent projects there should be a formally stable release :)
Fixed fallback from HEAD to GET if dynamic HEAD routes are defined.
* method and matched after all other routes.Add HHI file for Hack typechecking support. The HHI file requires HHVM 3.9 or newer.
Added support for trailing optional segments, for example the route
Added support for trailing optional segments, for example the route
$r->addRoute('GET', '/foo[/{bar}[/{baz}]]', 'handler');is equivalent to the three routes
$r->addRoute('GET', '/foo', 'handler');
$r->addRoute('GET', '/foo/{bar}', 'handler');
$r->addRoute('GET', '/foo/{bar}/{baz}', 'handler');As a result of this additional the output format for RouteParser was changed to add another array level, which may need to be accounted for if you use a custom parser.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →