Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

Another reason I like fillable instead of guarded

Every little bit helps

Joel Clermont
Joel Clermont
2026-03-20

From our daily Laravel tips email. Get the next one in your inbox.

The fillable vs guarded debate has been going on for years, and most of the arguments are well-known by now. But here is one you might not have heard before. Using guarded triggers a hidden database query every time you create or update a model.

In this video, I dig into the framework source code to show you exactly where this query comes from, why Laravel needs it, and how fillable avoids it entirely.

Watch Now (5 min)

And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.

Here to help,

Joel

P.S. Understanding what happens under the hood in Laravel helps you write better code. If you want to level up your Laravel skills, join the community.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.