当前位置:网站首页>Tp6 whoops based exception takeover (beautiful interface)

Tp6 whoops based exception takeover (beautiful interface)

2022-06-11 13:35:00 Your brother's programming path (love to share)

author : Ye Gui Chen Huawei cloud sharing expert 51cto( Expert bloggers Tomorrow's star TOP Sensation )


Preface

Let the error display in more detail , More beautiful

One 、 install ?

composer require xiaodi/think-whoops

Two 、 Use steps

First of all : open APP_DEBUG = true
 Insert picture description here
The second step : Write in the editor you use . What I have here is sublime
 Insert picture description here

Detailed error rendering :
 Insert picture description here

summary

Thank you for watching , thank you .

原网站

版权声明
本文为[Your brother's programming path (love to share)]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111332202191.html