Laravel5.5 new features error reporting and graphic introduction

黄舟
Release: 2023-03-15 07:02:01
Original
3119 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, and it has certain reference learning value for everyone's study or work. It is necessary Friends, please follow the editor to learn together.

Preface

The long-awaited laravel5.5 will be presented to you soon. This article will give you a detailed introduction to the new features of Laravel5.5. The related content of the friendly error reporting and display of the feature is shared for everyone’s reference and study. Without further ado, let’s take a look at the detailed introduction:

Get Laravel5.5 Source code

#The Laravel 5.5 official website has not been officially released yet, and it is expected to be in the next few days!

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

laravel new laravel55demo --dev

After the installation is completed through the command, 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

relative to laravel5.0 and later versions

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

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

Without further ado, we use the command to generate a key and take a 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

##Custom error page

We often encounter error reports during development. It is inevitable that developers often make mistakes when developing code. Yes, 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 features error reporting and graphic introduction. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!