As part of Laracon EU 2019, Freek van der Herten and Marcel Pociot jointly announced their latest open source expansion package - Ignition.
Ignition is the new default error page for Laravel 6.0, with some beautiful Laravel-specific features that make debugging exceptions and stack traces even more convenient! You might even like to intentionally throw an exception to see this nifty new Laravel debugging stack.
From Freek's detailed introduction to Ignition, he mentions how Ignition does some interesting framework-specific things to make stack traces easier to understand:
Ignition is a Laravel-specific error page. Therefore, it can mount framework-specific functionality to show uncompiled view paths and your Blade views... By default we also only show application frameworks, since those may be what you're interested in.
As you can see on the screenshot, there are multiple tabs providing help regarding the request ,app/framework
, user
, context
and debug
. Select to view details about each of them. The
debug tab has a cool new feature that displays queries
, logs
, and dumps
. When there is printing content, Ignition will also display relevant file name information. If you don’t want to display specific information, you can also use the original dd()
command in the package!
In addition to debugging information, Ignition has an extra step to suggest help for common problems. For example, class or view path types will try to provide recommended solutions.
Ignition comes standard with Laravel 6.0, and you can also install it in existing Laravel 5 applications. You can learn more about this package, get complete installation instructions, and view the source code on GitHub at facade/ignition.