by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 years ago )

Whoops is a nice little library that helps you better develop and maintain your projects, helping you handle errors and exceptions in a less painful way.
, it was preloaded in Laravel 4, but it was removed in Laravel 5.0, and now 5.5 is back....


Some features of Whoops include:

- Flexible, stack-based error handling
- No dependencies are required to use the current stand-alone library
- Simple API for handling exceptions, tracking frames and their data
-Include a stunning error page within your web application
- Includes the ability to open referenced files directly in editors and IDEs
- Includes handlers for different response formats (JSON, XML, SOAP)
-Easy to extend and integrate with existing libraries
- Clean, well-structured and proven codebase
 

 

Tags: laravel woops

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


laravel,trait,php

My Browser Trait, webp image file support function detection and whether it is a mobile phone detection

I believe that many people are familiar with PHP trait, because Laravel can be seen everywhere, but I still write it and share it with those who are destined. PHP trait allows two different CLASS to use the same method. It not only reduces the complexity, but also allows the code to be reused. So it should be very convenient to put a Browser series function on Laravel's ViewServiceProvider 😝

nginx,dlaravel

How to configure HTTPS on nginx to get an SSL A+ score from Qualys

This article describes how to adjust the ssl settings of nginx so that the website can obtain an SSL report and get an A+ rating. Here I am using letsencrypt free credentials. As long as you use the official Docker nginx new version image preset by D-Laravel, you should be able to achieve the same effect as mine. You can check your host SSL settings through the following. https://www.ssllabs.com/ssltest/index.html

dlaravel

D-Laravel test domain name *.dev changed to *.test

Since Google Chrome 63 will forcibly convert the domain name of *.dev to https, the domain name of the new version of D-Laravel will be changed to *.test. This article explains how to update.