Best use of Skinny Controller Fat Model in Laravel

Man vector created by upklyak — www.freepik.com

Bloating codes in single place would be devastating. It would be tons of duplication and unreadable codes which give your code maintainer a headache 😅.

So, i would cover how i go with Slim Controller and Fat Model

Skinny Controller basically means move all business logic, database logic and non response related logic to somewhere else and leave the…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hafiq Iqmal

Hafiq Iqmal

Tech Lead Back-End Developer | Software Engineer | Laravel Enthusiasts | CTF Newbie | Medium writer