We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a602552 commit 088ea4aCopy full SHA for 088ea4a
README.md
@@ -7,19 +7,14 @@ This is a custom exception handler that must be registered with Laravel.
7
composer require imemento/exceptions-laravel
8
```
9
10
-Add the service to config/app.php:
11
-```php
12
-iMemento\Exceptions\Laravel\ExceptionsServiceProvider::class,
13
-```
14
-
15
The exception to formatter mapping is done in the config/exceptions.php file.
16
17
Publish it if you want to add your custom mapping:
18
```bash
19
php artisan vendor:publish --tag=config
20
21
22
-Replace the exception handler in bootstrap/app.php
+Replace the default exception handler in bootstrap/app.php
23
```php
24
$app->singleton(
25
Illuminate\Contracts\Debug\ExceptionHandler::class,
0 commit comments