The Flare team has just added "ddd"
, a new global helper function that is available in Laravel 6 .
If you want to dump a string and a model somewhere in the code.
With ddd
you can do this, just as you would with dd
; and display the code in your browser.
$article = Article::first();
ddd('dumping tmy article', $article);
Marcel Paciot, on Flare Blog , wrote an in-depth introducing to "ddd"