Laravel Miscellaneous Helper Function: dd

November 21, 2016 —John Koster

dd()

The dd function is a debug utility that will dump a set of values and then die. This means it will create a human-readable representation of the values and then stop execution of the script.

The dd function will take into account if the application is currently running in the console, or if it is returning a response to a client (such as a browser), and then update its output accordingly.

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.