Monday, July 15, 2024
HomePHPLaravel Error Options on the Default Exception Web page

Laravel Error Options on the Default Exception Web page

With the discharge of the first-party default exception web page in Laravel 11.9, the present error options characteristic was eliminated. The Laravel Error Options package deal by Spatie brings again options for the most typical errors customers face.

This package deal brings again the next options to the error web page that had been beforehand supplied:

  • Show error options to frequent errors (i.e., operate title typos)
  • Automate working some options that may be fastened mechanically
  • Help for AI-generated options
  • Create a customized answer class so as to add your personal options
  • And extra…

You may get began with this package deal by putting in it a dependency of your software:

composer require spatie/laravel-error-solutions


# Optionally publish the `error-solutions.php` config

php artisan vendor:publish --tag="error-solutions"

You may be taught extra about this package deal, get full set up directions, and look at the supply code on GitHub. The documentation for this package deal is out there on Spatie’s docs web site.



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments