logo

Why the nullable validation rule is useful

Sometimes code is for your team, not just the PHP runtime

Joel Clermont
Joel Clermont
2025-12-12

Today I want to talk about the intersection of two of my favorite topics in Laravel: validation and testing.

Did you know there is a validation rule that you literally cannot make fail?

In today's video, I show what this rule is and why it's still a valuable rule.

Along the way, I demonstrate how I like to write validation tests in my application.

Watch Now (7 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. Want someone to review your Laravel application and point out areas to make it better in just a few days?

Toss a coin in the jar if you found this helpful.
Want a tip like this in your inbox every weekday? Sign up below 👇🏼
email
No spam. Only real-world advice.