Most people go for the Repository pattern to handle something like this. It's basically just a layer between your controller and model:
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community