Laravel Ignition introduces a global
ddd() helper available in all Laravel 6 installations and applications that have Ignition 1.9+ installed. This global helper is
dd() with the power of Ignition on top:
As you can see, you also have access to the stack trace, the request, and all the typical tabs offered on an Ignition page.
Seeing the stack trace means that you can easily retrace where you used the
ddd() helper—no more lost
dd() calls in vendor code! Additionally, you can share your dumped code with others, which is going to be convenient in sharing debug code with coworkers and on GitHub issues.
You can learn more by reading Introducing “ddd” by Marcel Pociot. You can check out the source code implementation here in the facade/ignition repo.
Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.