Laravel5.5 new features of the error and the display of the graphic introduction

Source: Internet
Author: User
This article mainly introduces to you about the new characteristics of the Laravel5.5 of the friendly error and display of relevant information, the text through the graphic introduction of very detailed, to everyone's study or work has a certain reference learning value, the need for friends to follow the small series to learn together.

Objective

Long-awaited laravel5.5 will soon be presented for you, this article will give you a detailed introduction about the Laravel5.5 new features of the friendly error and display of relevant content, share out for everyone to refer to the study, words do not say, come together to see the detailed introduction:

Laravel5.5 getting the source code

Now Laravel5.5 official website is not officially released, is expected to be these days of things!

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

laravel new laravel55demo --dev

You can use the command after the installation is complete

php artisan --versionView version

Laravel5.5 Friendly error page

After version determination we use the command to start 5.5:

php artisan serve

You can see a very beautiful error page

The version after the relative laravel5.0

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

Of course, if you use the current official latest laravel5.4 do development, similar to this error page should be identical

That's nonsense. We use the command to generate a key to see the initial page of the project

php artisan key:generate

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

Custom error page

We often encountered in the development of error developers in the development of code when often wrong that is unavoidable, can quickly locate the wrong location of the rapid resolution is what we care about, very happy laravel5.5 did so we can create a mistake to open the editor below to create a bug

We can see the effect as follows:

It looks like something's wrong!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.