Question: How to add Route Groups? #134
Unanswered
ishanvyas22
asked this question in
Q&A
Replies: 2 comments 2 replies
-
@ishanvyas22 thanks for bringing this up 👍 This is currently not supported in Framework X but will definitely come in the future. I'm interested, is this a must have feature for you or more like a nice to have one? If you happen to have an idea or already an implementation, we're always happy about pull requests 💯 |
Beta Was this translation helpful? Give feedback.
1 reply
-
I definitely miss this feature as well, especially for API versioning like "/v1/", rate limiting of or access control/auth (via middleware) to certain endpoints groups are very handy... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see this project uses
nikic/FastRoute
, it's not documented on how we can define route groups? Route groups are often used when there are multiple areas(i.e./admin
,/editor
, etc.) and developers want to group assign routes to a particular prefix route.This is already supported by the
nikic/FastRoute
package as Route Groups, therefore I was wondering on how to achieve this using Framework-X. I tried usingaddGroup
but it doesn't seem to work ATM.Beta Was this translation helpful? Give feedback.
All reactions