When Laravel moved to the new minimal default Exception Page in Laravel 11.9, Spatie released a Laravel Share Error package that brings back the ability to share your Laravel exceptions with others.
Once you install the package, you can share your local exception with others via a generated public URL:
The share menu supports light and dark mode, and creates a share just like the original Laravel Ignition exception page that shipped with Laravel. Once you create a public share, your colleagues have access to the stack trace, context info such as request, routing details, and view variables.
You can learn more about this package, get full installation instructions, and view the source code on GitHub. Also, you can install this package as a development dependency in Laravel 11 apps using Composer:
composer require spatie/laravel-error-share --dev
The post Share Error Package for Laravel's New Exception Page appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.