Laravel Ignition Introduces the ddd() Helper

Laravel Ignition Introduces the ddd() Helper

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.

Filed in: News

Newsletter

Join 31,000+ others and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Senior Full Stack PHP Developer (Laravel)
Remote
MAPPEN
Senior Laravel Developer
Remote
ACTO
Senior Full-Stack Engineer
[REMOTE: USA Only]
Curricula
Developers for B2B eCommerce SaaS, AWS serverless, Laravel, Vue, Python
Remote, full time EU only
ES Tech Group
Senior PHP Developer (Laravel)
Remote
The Interaction Design Foundation