Get "PHP 8 in a Nuthshell" (Now comes with PHP 8.3)
Amit Merchant

Amit Merchant

A blog on PHP, JavaScript, and more

The new freshly designed exception page in Laravel 11

The attention to detail in everything that Laravel’s core team does is truly inspiring. Be it the clean code, the well-thought-out architecture, the thoughtful design decisions, or even the symmetry in the 3-line code comments, everything seems to be in the state of zen.

One such area is the UI of the pages that the framework comes with. For instance, the default welcome page, login/register pages, dashboard page, and so on.

Recently, the default exception page in Laravel 11 has gotten a major design overhaul. The page has become more minimal, clean-looking, and pleasing to the eye.

You get a handy toggle collapse vendor files in the backtrace, and the code blocks get a lot more focus with nicer syntax highlighting.

Laravel 11 Exception Page Dark Mode

The light theme looks stunning as well!

Laravel 11 Exception Page Light Mode

At first, I wasn’t able to make it work even though I updated my app to the newest Laravel 11 release. After some debugging, I found that I had spatie/laravel-ignition installed and the default exception page was being overridden by the package.

So, I removed the package and Laravel’s default exception page has started working as expected.

Learn the fundamentals of PHP 8 (including 8.1, 8.2, and 8.3), the latest version of PHP, and how to use it today with my new book PHP 8 in a Nutshell. It's a no-fluff and easy-to-digest guide to the latest features and nitty-gritty details of PHP 8. So, if you're looking for a quick and easy way to PHP 8, this is the book for you.

Like this article? Consider leaving a

Tip

👋 Hi there! I'm Amit. I write articles about all things web development. You can become a sponsor on my blog to help me continue my writing journey and get your brand in front of thousands of eyes.

Comments?