Skip to content

Commit 088ea4a

Browse files
committed
readme
1 parent a602552 commit 088ea4a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,14 @@ This is a custom exception handler that must be registered with Laravel.
77
composer require imemento/exceptions-laravel
88
```
99

10-
Add the service to config/app.php:
11-
```php
12-
iMemento\Exceptions\Laravel\ExceptionsServiceProvider::class,
13-
```
14-
1510
The exception to formatter mapping is done in the config/exceptions.php file.
1611

1712
Publish it if you want to add your custom mapping:
1813
```bash
1914
php artisan vendor:publish --tag=config
2015
```
2116

22-
Replace the exception handler in bootstrap/app.php
17+
Replace the default exception handler in bootstrap/app.php
2318
```php
2419
$app->singleton(
2520
Illuminate\Contracts\Debug\ExceptionHandler::class,

0 commit comments

Comments
 (0)