smorken / errors
Extended error handling for Laravel
v11.4.0
2026-05-07 17:10 UTC
Requires
- php: ^8.3
- aws/aws-sdk-php: ^3.380.2
- smorken/support: ^10.8
- symfony/monolog-bridge: ^7.0
Requires (Dev)
- guzzlehttp/guzzle: ^7.10.0
- larastan/larastan: ^v3.4.0
- mockery/mockery: ^1.0
- orchestra/testbench: ^10.0|^11.0
- phpunit/phpunit: ^11.0|^12.0
- smorken/docker: *
- spatie/laravel-ignition: ^2.12.0
This package is auto-updated.
Last update: 2026-06-07 17:24:46 UTC
README
License
This software is open-sourced software licensed under the MIT license
The Laravel framework is open-sourced software licensed under the MIT license
Installation
Add as the first service provider to your config/app.php
...
'providers' => [
Smorken\Errors\ErrorServiceProvider::class,
...
Publish the files
php artisan vendor:publish --provider="Smorken\Errors\ErrorServiceProvider"
This will provide a resource/views/errors directory and config/errors.php
Modify any of the settings you wish (email to address, layout/master view)
The view files expect a variable called $master to be available with the name of the master view to extend.
(eg, view()->share('master', 'layouts.master'))