Laravel Packages

Share Error Package for Laravel's New Exception Page

Published
Share Error Package for Laravel's New Exception Page image

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
Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Volker Dusch on the PHP RCE Vulnerabilities and Disclosure image

Volker Dusch on the PHP RCE Vulnerabilities and Disclosure

Read article
Decide with Jev: Turn AI Answers into Decisions with PHP Rules image

Decide with Jev: Turn AI Answers into Decisions with PHP Rules

Read article
Skuul: Open-Source School Management Built on Laravel image

Skuul: Open-Source School Management Built on Laravel

Read article
Laravel Read Replicas: Prevent Stale Reads After a Write image

Laravel Read Replicas: Prevent Stale Reads After a Write

Read article
Screenshot: Capture Images and PDFs with PHP and Laravel image

Screenshot: Capture Images and PDFs with PHP and Laravel

Read article
Reset Sticky Database Connections Between Laravel Queue Jobs image

Reset Sticky Database Connections Between Laravel Queue Jobs

Read article