Today we are very excited to announce a new global helper function that is available for all Laravel 6 installations, as well as for all applications that have Ignition 1.9+ installed.
We all love to debug our code using dd - it's fast and easy. But sometimes you want to have some more information available.
Or you forgot to dump some things about your request, so you have to edit your dd and do it all over again.
Say hello to "ddd"
We now give you ddd - a globally available helper function that does everything that you love about dd and sprinkles everything that Ignition has to offer on top of it.
Let's say you want to dump a string and a user model somewhere in the code. With ddd you can do this, just as you would with dd:
$user = User::first();
ddd('dumping this one', $user);
Now when you hit that code in your browser, the ddd helper will dump the data, show Ignition and exit. This gives you the power of dd combined with all the great features of Ignition. And if you ever feel like you need some help from other people, you can go and share your dumped code right from Ignition too.
Here is an example share taken from our ddd test application.
Continue reading
Lessons from the deep end
20 months ago, we started building Performance Monitoring as Flare’s next big feature, never expecting Laravel’s rapid commercial growth to put us in direct competition with their own tools. This is our honest take on those 20 months went, how we’re adapting to this new reality, and where we’re heading next while staying true to who we are. A dive into the deep end, without knowing how far down it goes.
Alex
Connect your AI agent to Flare to automatically fix production and performance problems in PHP and Laravel projects
You can now use our MCP server to connect your AI agent to Flare. This way your AI has all context it needs to diagnose and fix production and performance problems.
Freek
Subscribe to Backtrace, our quarterly Flare newsletter
No spam, just news & product updates