Home > Backend Development > PHP Tutorial > Laravel5.5 new feature error reporting

Laravel5.5 new feature error reporting

小云云
Release: 2023-03-19 17:10:02
Original
2087 people have browsed it

This article mainly introduces to you the relevant information about the friendly error reporting and display of the new features of Laravel5.5. The introduction in the article is very detailed through pictures and texts. It has certain reference and learning value for everyone's study or work. Friends who need it Let's follow the editor to learn together, I hope it can help everyone.

Laravel5.5 Get the source code

The Laravel5.5 official website has not been officially released yet, and it is expected to be in the next few days!

Developers can obtain the laravel5.5 source code through the following command:

laravel new laravel55demo --dev

Install through the command After completion, you can use

php artisan --version to view the version

Laravel5.5 friendly error page

After the version is confirmed, we use the command to start 5.5:

php artisan serve

You can see a very beautiful error page

Compared with laravel5.0 and later versions

laravel5.1 laravel5.2 laravel5.3 all have a more intuitive preview to facilitate our troubleshooting

Of course, if you have used the latest official laravel5.4 for development, the error page similar to this should be similar

Without further ado, we use the command Generate a key and look at the initial page of the project

php artisan key:generate

After generating the key, we use the command again to start the project

##Customized error page


We often encounter error reports during development. Developers often make mistakes when developing code. That is It is inevitable that what we care about is being able to quickly locate the error location and solve it quickly. We are very happy that laravel5.5 can do it. Then we can create an error and open the editor to create an error as follows

We can see the effect as follows:

Looks like something is wrong!

The above is the detailed content of Laravel5.5 new feature error reporting. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template