logo
podcast Podcast
get help Get Unstuck

Using Xdebug to figure out how Laravel validation works

Sometimes die and dump will not cut it

Joel Clermont
Joel Clermont
2025-05-01

I'm a huge fan of Xdebug for figuring out how Laravel works internally. dd is great or most quick debugging tasks, but Xdebug is great in more-nuanced situations, where you're not even quite sure where to start.

In today's video, I will use this week's deep dive into validation logic to demo how I used Xdebug in exploring how string-based rules are executed.

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. Testing is one of the single best things you can do to keep your app easy to maintain. Would you like some help introducing testing to your app?

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 you can use.