Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jan 15, 2022
1 parent 5c6a77a commit 5e35e8d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,31 @@
[Ignition](https://flareapp.io/docs/ignition-for-laravel/introduction) is a beautiful and customizable error page for
PHP applications

![Screenshot of ignition](https://spatie.github.io/ignition/screenshot.png)

Here's a minimal example.
Here's a minimal example on how to register ignition.

```php
use Spatie\Ignition\Ignition;

include 'vendor/autoload.php';

Ignition::make()->register();
```

Let's now throw an exception during a web request.

```php
throw new Exception('Bye world');
```

This is what you'll see in the browser.

![Screenshot of ignition](https://spatie.github.io/ignition/ignition.png)

There's also a beautiful dark mode.

![Screenshot of ignition in dark mode](https://spatie.github.io/ignition/ignition-dark.png)


## Support us

[<img src="https://github-ads.s3.eu-central-1.amazonaws.com/ignition.jpg?t=1" width="419px" />](https://spatie.be/github-ad-click/ignition)
Expand Down Expand Up @@ -139,7 +150,8 @@ class CustomSolution implements Solution

This is how the exception would be displayed if you were to throw it.

TODO: insert image
![Screenshot of solution](https://spatie.github.io/ignition/solution.png)


#### Using solution providers

Expand Down
Binary file added docs/ignition-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/ignition.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/screenshot.png
Binary file not shown.
Binary file added docs/solution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5e35e8d

Please sign in to comment.