spatie/ignition
Ignition is a beautiful, customizable error page for PHP apps. Register it to get rich exception screens with stack traces, context, and a polished UI with light and dark mode. Integrates via Laravel, Symfony, Drupal, and more.
spatie/ignition is framework-agnostic, it is optimized for Laravel (with a dedicated laravel-ignition package). For Laravel projects, this aligns perfectly with the ecosystem, reducing friction in adoption.App\Exceptions\Handler).Ignition::make()->register()) for basic setup, with optional configurations (e.g., dark mode, Flare integration).bootstrap/app.php or via a service provider, fitting standard Laravel patterns.APP_ENV ensure production safety (e.g., disabling UI in production unless explicitly configured).spatie/ignition and optional openai-php/client (for AI features). No Laravel-specific dependencies beyond the framework itself.runningInProductionEnvironment()..env). No risk of data leaks if configured correctly.APP_ENV detection).sendToFlare() selectively (e.g., only for critical errors) or disable Ignition UI in production entirely.useCache()) and validate solutions before implementation.Solution classes be required?addSolutionProviders() or implement ProvidesSolution in custom exceptions.shouldDisplayException() is gated by environment.spatie/laravel-ignition for seamless integration with Laravel’s exception handler).APP_ENV detection).openai-php/client. May need approval for external API usage.HasSolutionsForThrowable, ProvidesSolution), enabling domain-specific fixes.composer require spatie/ignition
bootstrap/app.php:
Ignition::make()->register();
throw new Exception('Test')).Ignition::make()
->runningInProductionEnvironment(app()->environment('production'))
->sendToFlare(config('services.flare.key'))
->register();
composer require openai-php/client
$aiProvider = new OpenAiSolutionProvider(config('services.openai.key'));
Ignition::make()->addSolutionProviders([$aiProvider])->register();
shouldDisplayException(false)) unless debugging is required.censorRequestBodyFields(['password'])).v1.x of laravel-ignition.App\Exceptions\Handler.
Mitigation: Verify render() method in Handler doesn’t override Ignition’s output.APP_ENV checks and bootstrap logic. Use spatie/ignition directly (not laravel-ignition).Solution classes or providers.spatie/ignition is actively maintained (last release: 2026-03-17). Optional dependencies (e.g., openai-php/client) require separate updates.Solution classes and middleware (e.g., Flare middleware) are recommended.flare:monitor command.How can I help you explore Laravel packages today?