thephpleague / route

Fast PSR-7 based routing and dispatch component including PSR-15 middleware, built on top of FastRoute.
http://route.thephpleague.com
MIT License
651 stars 126 forks source link

Add reverse routing info to docs #287

Closed garrettw closed 3 years ago

garrettw commented 4 years ago

I'm looking for a router to use for a new project, and this one made it to my short list, partly due to PSR compliance.

However, the deal breaker for me is that reverse routing (injecting vars into dynamic routes to generate URIs) doesn't seem to be implemented, and that's something I really need.

[Edit] After looking over the code, I see that it actually does what I need already, but this information was nowhere in the documentation. Could that be added?

philipobenito commented 3 years ago

Will get to this when I have some time, PR welcome though if you'd like to contribute

philipobenito commented 3 years ago

Thanks, PR merged