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 the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Senior Laravel Developer (Full-Stack)
Munich
Volunteer Vision GmbH
Full-Stack Developer
Tampa
Nu Image Medical
Senior Software Developer
Remote (US ONLY)/Kenilworth, NJ
Diversified
Senior Back-end Laravel API Developer - Immediate Contract (Full Time)
Remote
ApproveMe // Document Signing
Web Development Project Manager
Houston, TX
Swyft Filings
Experienced Laravel/VueJS Developer (Freelance)
Remote (preferably in the US)
Prosperly LLC
Senior React / Laravel Developer
Remote
The C.A.S.E. Engineering Group