Kaloyan Tsvetkov

Results 35 comments of Kaloyan Tsvetkov

@burzum it seems it's been more than 12 months since this was posted and I myself am not sure if and when there will be a new release for this...

@burzum I'll be glad if have a look at my router, [Ertuo](https://github.com/ertuo-php/ertuo). I've taken a different approach than regular expressions, and I am not using conventional route definitions. There is...

I don't think you can. The routes passed to `RouteCollector::addRoute()` are immediately parsed and passed to the dataGenerator inside: ```php public function addRoute($httpMethod, $route, $handler) { $route = $this->currentGroupPrefix ....

I have a question regarding the method and URI. Look at the 405 definition: > The HyperText Transfer Protocol (HTTP) **`405 Method Not Allowed`** response status code indicates that the...

@lcobucci @nikic can we just extract the code for the allowed methods on a separate `allowedMethods()` method, without actually adding the same method in the `Dispatcher` interface? Or perhaps have...

@Gremlyn can you use object composition instead, where your own route collector is sort of a decorator around the core FastRoute route collector?

@Jackson88 can you use the handler instead of the route to track the states? In other words, instead of tracking how many times the route was matched, you are going...

In Symfony Routing there is this feature called "Extra Parameters", where when you declare a route you not only assign a handler to it, but you can also attach some...

@kimjohans have you considered https://github.com/thephpleague/route ? It is an upgrade on top of FastRoute and they do have named routes: > https://route.thephpleague.com/5.x/routes/#named-routes > > Named routes helps when you want...

@scottchiefbaker the images can be put inline inside the css files, so that there are no extra files to load, e.g. `background: url(data:image/gif;base64,R0lGODlhWgAJALMAAP///8vLy+Tk5...zCnNapVdLBAA7); `