An open API service indexing awesome lists of open source software.

https://github.com/mkgor/beautiful-errors

Makes errors and exceptions more informative and beautiful
https://github.com/mkgor/beautiful-errors

console errors exceptions php terminal

Last synced: about 1 month ago
JSON representation

Makes errors and exceptions more informative and beautiful

Awesome Lists containing this project

README

          

# Beautiful Errors
Simple library which can make your console errors more beautiful and informative

## Installation
You can install it via composer

``` composer require mkgor/beautiful-errors```

## Usage
To initialize error handler, just call ``\BeautifulErrors\Handler::setupHandlers();`` method in your code (as early as you can)

## Demo

Beautiful errors OFF:

![Image](https://i.imgur.com/psdIAbp.png)

Beautiful errors ON:

![Image](https://i.imgur.com/Ytrexbc.png)