For a variety of reasons, Laravel - and specifically Eloquent - can sometimes be a bit more lenient than you might prefer. It might be nice, for example, to instantly know when you've introduced an N+1 problem or accessed a model attribute that doesn't exist. However, there is a way to turn on a "strict mode." I'll show you everything you need to know.
Eloquent Strict Mode
