mkgor / beautiful-errors
Makes errors and exceptions more informative and beautiful
1.0
2020-04-30 20:31 UTC
Requires
- php: ^7.0
- coduo/php-to-string: ^4.0@dev
- mkgor/highlighter: dev-master
This package is auto-updated.
Last update: 2025-03-29 00:48:23 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:
Beautiful errors ON: