spatie/laravel-ignition
Beautiful, customizable error page for Laravel 10+ apps (PHP 8.1+). Shows detailed exception screens, offers helpful solutions, and can share errors to Flare. With a Flare API key, it tracks production errors and sends notifications.
App\Exceptions\Handler and extends it with additional context (e.g., stack traces, variable dumps, and AI-driven solutions).facade/ignition. This aligns with Laravel’s LTS roadmap, reducing long-term maintenance risks.config/ignition.php (e.g., enabling/disabling features like AI solutions, context sharing, or Flare integration).ignition.php.facade/ignition (v1.x), which may lag behind features.App\Exceptions\Handler overrides).config/ignition.php → sensitive array).composer require spatie/laravel-ignition
php artisan vendor:publish --provider="Spatie\Ignition\IgnitionServiceProvider"
php artisan queue:work).App\Exceptions\Handler but before TerminateMiddleware..env with FLARE_API_KEY and test error reporting.resources/views/vendor/ignition/...) for branding.ignition.php or by extending Spatie\Ignition\Solutions\SolutionProvider.composer update spatie/laravel-ignition) to benefit from bug fixes (e.g., 2.6.2 fixed middleware execution issues).config/ignition.php for changes that may require adjustments (e.g., new features like AI solutions).use statement").| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Ignition middleware fails | Default Laravel error page shown | Ensure middleware is registered correctly in app/Providers/AppServiceProvider. |
| Flare API unavailable | Local error pages still work | Disable Flare integration in ignition.php if critical. |
| Sensitive data leaked in logs | Security/compliance risk | Configure ignition.php to exclude sensitive data (e.g., passwords, tokens). |
| PHP version incompatibility | Ignition errors mask app errors | Pin to a compatible version in composer.json. |
| Livewire/Octane-specific bugs | Errors not displayed correctly | Test thoroughly with your stack; report issues to Spatie. |
| Custom exception handlers conflict | Ignition ignored | Review App\Exceptions\Handler for overrides blocking Ignition. |
How can I help you explore Laravel packages today?