Support the ongoing development of →
Requests IOC Views
Last updated 2 years ago.

Use repositories and bind the controller to the contract - would recommend gives these few videos on Laracasts a watch -

Last updated 2 years ago.

A controller should only house interaction for a single section like Admin\UsersController should contain only methods to interact with user domain sections.

So, if you go by this way, controllers will be maintainable.

Also, controllers should not have domain logic. There are repositories for that.

Last updated 2 years ago.

Sign in to participate in this thread!


Your banner here too?

davidxd33 davidxd33 Joined 29 May 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.