AutoRoute
AutoRoute copied to clipboard
Automatically maps HTTP requests to PHP action classes.
What are your thoughts about adding support for content negotiation in the actions? **In the action, using content negotiation methods:** ```php final class GetPhoto { public function html(int $id) {...
This in reference to this issue: https://github.com/pmjones/AutoRoute/issues/16 After doing some prototyping and thinking, I don't think this is a bug but a good design choice. Not allowing implicit url parameters...
I may be doing something wrong here, but based on the documentation, a route like `/group/78/something` should be able to route to `BaseNameSpace\Group\Something\GetGroupSomething`. When trying it out though, it seems...