ignition  by spatie

PHP error page for web apps

created 4 years ago
484 stars

Top 64.3% on sourcepulse

GitHubView on GitHub
Project Summary

Ignition provides a beautiful, customizable error page for PHP applications, enhancing the developer experience by offering detailed error information and actionable solutions. It targets PHP developers seeking to improve debugging workflows and gain deeper insights into application errors, especially during development.

How It Works

Ignition intercepts uncaught exceptions and errors, rendering a rich HTML interface that displays the error message, stack trace, and context. It supports custom solutions for exceptions, either directly implemented by the exception class or provided by separate solution provider classes. This approach allows for tailored debugging guidance and integration with external services like OpenAI for AI-powered suggestions.

Quick Start & Requirements

Highlighted Details

  • Customizable themes (including dark mode).
  • Supports custom solutions via ProvidesSolution interface or HasSolutionsForThrowable providers.
  • Optional AI-powered solutions via OpenAI integration (openai-php/client).
  • Integration with Flare for exception monitoring in production.
  • Ability to anonymize IP, censor request fields, and use custom middleware for Flare reporting.

Maintenance & Community

  • Developed by Spatie, a well-known PHP package provider.
  • Active development indicated by a CHANGELOG.
  • Contribution guidelines are provided.

Licensing & Compatibility

  • MIT License.
  • Permissive license suitable for commercial use and integration into closed-source applications.

Limitations & Caveats

  • AI-powered solutions require an OpenAI API key and may not always be contextually accurate.
  • Sensitive information should be carefully managed when using AI solutions or sending data to Flare.
  • Specific framework integrations (Laravel, Symfony, Drupal) are handled by separate packages.
Health Check
Last commit

1 month ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
9
Star History
11 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.