Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 18, 2024 via composer

spatie/ignition 1.12.0

A beautiful error page for PHP applications.
Package summary
Share
0
issues
1
license
35
MIT
Package created
31 May 2021
Version published
3 Jan 2024
Maintainers
1
Total deps
35
Direct deps
5
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
35 Packages, Including:
carbonphp/carbon-doctrine-types@3.2.0
doctrine/inflector@2.0.10
illuminate/collections@v11.7.0
illuminate/conditionable@v11.7.0
illuminate/contracts@v11.7.0
illuminate/macroable@v11.7.0
illuminate/pipeline@v11.7.0
illuminate/support@v11.7.0
nesbot/carbon@3.3.1
psr/clock@1.0.0
psr/container@2.0.2
psr/simple-cache@3.0.0
spatie/backtrace@1.6.1
spatie/flare-client-php@1.5.1
spatie/ignition@1.12.0
symfony/clock@v7.0.7
symfony/console@v7.0.7
symfony/deprecation-contracts@v3.5.0
symfony/http-foundation@v7.0.7
symfony/mime@v7.0.7
symfony/polyfill-ctype@v1.29.0
symfony/polyfill-intl-grapheme@v1.29.0
symfony/polyfill-intl-idn@v1.29.0
symfony/polyfill-intl-normalizer@v1.29.0
symfony/polyfill-mbstring@v1.29.0
symfony/polyfill-php72@v1.29.0
symfony/polyfill-php80@v1.29.0
symfony/polyfill-php83@v1.29.0
symfony/process@v7.0.7
symfony/service-contracts@v3.5.0
symfony/string@v7.0.7
symfony/translation@v7.0.7
symfony/translation-contracts@v3.5.0
symfony/var-dumper@v7.0.7
voku/portable-ascii@2.0.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

5
All Dependencies CSV
ⓘ This is a list of spatie/ignition 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
spatie/backtrace1.6.1-MIT
prod
spatie/flare-client-php1.5.1-MIT
prod
symfony/consolev7.0.7-MIT
prod dev
symfony/processv7.0.7-MIT
prod dev
symfony/var-dumperv7.0.7-MIT
prod dev

Visualizations

Frequently Asked Questions

What does spatie/ignition do?

Spatie/Ignition is a critical tool for delivering visually appealing and detailed error pages in PHP applications. By integrating Ignition, developers gain the ability to comprehensively understand errors at a glance. The tool features a robust, customizable interface that goes beyond just standard error reporting – it offers a smart solution finding system and supports both light and dark modes for optimum accessibility.

How do you use spatie/ignition?

To take advantage of Spatie/Ignition's capabilities, you first need to install the package using composer. It's as simple as running the following command:

composer require spatie/ignition

Basic implementation in your PHP project requires adding the following code. Insert this in your application's bootstrap section.

\Spatie\Ignition\Ignition::make()->register();

You can customize Ignition's behavior according to your needs. For instance, to use the package's dark mode feature, adjust the code like this:

\Spatie\Ignition\Ignition::make()
    ->useDarkMode()
    ->register();

Ignition also allows for solution integrations directly into thrown exceptions. This is done by letting the exception implement the Spatie\Ignition\Contracts\ProvidesSolution interface, similar to the sample below:

use Spatie\Ignition\Contracts\Solution;
use Spatie\Ignition\Contracts\ProvidesSolution;

class CustomException extends Exception implements ProvidesSolution
{
    public function getSolution(): Solution
    {
        return new CustomSolution();
    }
}

More complex application needs can be addressed by incorporating other Ignition features, such as integrating artificial intelligence for solution searching and managing display settings for different environments.

Where are the spatie/ignition docs?

Additional information and details about integrating and managing the Spatie/Ignition package can be found in the official Ignition documentation at https://flareapp.io/docs/ignition-for-laravel/introduction. You'll find guides for both Laravel and non-Laravel PHP applications here, alongside a wealth of use case examples and solutions for common issues.