You can also use a custom tool called Kint instead of var_dump.
It's effortless to install and use with almost any PHP project. Right off the bat, it's just more readable and pretty, but has lots of advanced features which you'll gradually appreciate.