mkgor/beautiful-errors

Makes errors and exceptions more informative and beautiful

1.0 2020-04-30 20:31 UTC

This package is auto-updated.

Last update: 2024-04-29 04:34:41 UTC


README

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

Beautiful errors ON:

Image