Ecosyste.ms: Awesome
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: 7 days ago
JSON representation
Makes errors and exceptions more informative and beautiful
- Host: GitHub
- URL: https://github.com/mkgor/beautiful-errors
- Owner: mkgor
- Created: 2020-04-30T20:30:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-01T09:51:20.000Z (over 4 years ago)
- Last Synced: 2024-04-17T08:15:15.021Z (7 months ago)
- Topics: console, errors, exceptions, php, terminal
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)