FastRoute icon indicating copy to clipboard operation
FastRoute copied to clipboard

Fast request router for PHP

Results 44 FastRoute issues
Sort by recently updated
recently updated
newest added

This PR adds a `useCustomConfigureRoutes()` method to _FastRoute_ to allow for custom _ConfigureRoutes_ implementations. Also in _FastRoute_: - rename $configuredRoutes and $routeConfiguration to $configureRoutes for consistency - add configureRoutes() method...

This evolution of #282 puts the DI configuration into a separate Settings object.

Per #280 and the comments therein, this enables something like "real" constructor DI for FastRoute.

Currently, the FastRoute class uses strings to indicate custom or override classes, then uses that string with a `new` call to create the override object. This means that the custom...

The [pds/skeleton](https://github.com/php-pds/skeleton) standard indicates that the directory for test cases should be named `tests` (plural), not `test` (singular) as done here. If compliance with that standard is not a goal,...

When using a route which contains both an unlimited optional placeholder, and another optional placeholder afterwards, the incorrect values are collected. For example, given the following route: ``` /go/to/[{location:.*}[/info/{subpage}]] ```...

This is the 1.3 version of #292. Since this is a bug it should really be part of a 1.3.x release. This commit is based on the v1.3.0 tag. Ideally...

Hi @lcobucci continuing my exploration of uri generation with v2 beta1, there are a few things that are still making it difficult to use: 1. all substitution values must be...

I've used FastRoute for projects in the past and am considering it for a production project. I wanted to check on the current maintenance status. I see v2.0.0-beta1 was released...

Whilst working on the Mezzio adapter for FastRoute, I noticed it's "impossible" to create dispatch results without writing to soft `@readonly` properties. Psalm hates that… so I took the liberty...