Answer the question
In order to leave comments, you need to log in
Where to describe controllers in laravel modular structure?
The Laravel backend API project uses a modular approach - https://nwidart.com/laravel-modules/v6/introduction.
Also, in each of the modules, the Service - Repository pattern is applied.
Question: where is the best place to describe controllers, and where to describe routes? On the top layer or in the modules themselves?
Please tell me your opinion.
Thanks in advance for your replies!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question