route icon indicating copy to clipboard operation
route copied to clipboard

Fast PSR-7 based routing and dispatch component including PSR-15 middleware, built on top of FastRoute.

Results 21 route issues
Sort by recently updated
recently updated
newest added

`/test/{id:\d+}/test/{domainId:\d+}/delete ` see PR #314 for a failing test

bug

Widen psr/simple-cache version constraint to support 1.0|2.0|3.0. Fixes #320

Found a use case that fails to resolve url correctly

Removed request. Please close issue. Thanks.

6.x

I think it would be useful, allow using an array of methods, as it could be done before in [3.x version](https://github.com/thephpleague/route/issues/57)

I'm looking for a way to provide some kind of metadata to a route or route group so I can use that data within a middleware when working with the...

5.x

Hi, Im trying to migrate to league/route:^5.0, however it requires "psr/simple-cache": ^1.0 where i depend on ^3.0. is it possible to widen the constraints to cover all simple-cache versions e.g.:...

5.x

Correct me if I'm wrong, but the middleware stack is only executed when a route is matched. Is there a reason for this? Given that the middleware stack runs before...

Hi, Is there a way to guess if a ServerRequest can be handled by some route of the router before actually handling it? Thanks

https://github.com/thephpleague/route/blob/b2d82a8b212787f10244e6fa8f94c939560d23bd/src/Http/Exception.php#L30 This breaks on PHP 7+ when a non-\Exception [throwable](https://www.php.net/manual/en/class.throwable.php) is thrown (e.g. TypeError; see also the [type hierarchy](https://php.watch/articles/PHP-exception-hierarchy)). For best compatibility, the type declaration should be removed. If needs...