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 those 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.
Want a short practical tip delivered to your inbox?
Sign up for the Mastering Laravel newsletter: https://masteringlaravel.io
View the article for this tip: http://masteringlaravel.io/daily/2025-05-01-video-using-xdebug-to-figure-out-how-laravel-validation-works
Download
0 formats
No download links available.
Using Xdebug to figure out how Laravel validation works | NatokHD