How-to articles, tricks, and solutions about VAR-DUMP

How to write own DD() function same as laravel?

To create your own version of the Laravel DD() function, you can create a new function in your codebase and have it take in any number of arguments.

Make var_dump look pretty

To make the output of var_dump() more readable, you can use the following approaches: