Saani
Saani

Reputation: 782

Laravel: Good Approach

I have been into Laravel since a month or so. I have almost covered its most of the features. What I want to ask is, "Is it a good approach to put all the code in a single Controller in Laravel?"

Upvotes: 0

Views: 41

Answers (1)

Romain Lanz
Romain Lanz

Reputation: 885

This is totaly a not "good approach" to do that! If you do it, you didn't respect S.O.L.I.D. principles.

You should take a look of 'Real Life' L5/L5.1 app example

Upvotes: 1

Related Questions