Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: 7 days 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)