-
|
I'm building REST APIs with Laravel and trying to keep controllers thin. What do you prefer for scalable projects:
Would love to hear real-world experience. |
Beta Was this translation helpful? Give feedback.
Answered by
blac98
Feb 6, 2026
Replies: 1 comment 3 replies
-
|
In my experience, a hybrid approach works best for scalable Laravel APIs. I usually keep controllers very thin, delegate business logic to Service classes, Form Requests for validation + DTOs also help keep things clean as the project grows. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
blactelin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my experience, a hybrid approach works best for scalable Laravel APIs.
I usually keep controllers very thin, delegate business logic to Service classes,
and use Actions (or UseCases) for specific workflows like onboarding, payments, etc.
Form Requests for validation + DTOs also help keep things clean as the project grows.