PHPackages                             mkgor/beautiful-errors - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. mkgor/beautiful-errors

ActiveLibrary[CLI &amp; Console](/categories/cli)

mkgor/beautiful-errors
======================

Makes errors and exceptions more informative and beautiful

1.0(6y ago)101MITPHPPHP ^7.0

Since Apr 30Pushed 6y agoCompare

[ Source](https://github.com/mkgor/beautiful-errors)[ Packagist](https://packagist.org/packages/mkgor/beautiful-errors)[ RSS](/packages/mkgor-beautiful-errors/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Beautiful Errors
================

[](#beautiful-errors)

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

Installation
------------

[](#installation)

You can install it via composer

` composer require mkgor/beautiful-errors`

Usage
-----

[](#usage)

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

Demo
----

[](#demo)

Beautiful errors OFF:

[![Image](https://camo.githubusercontent.com/42156f4c5389054f34b85c22f98e32c8b5322363cdffe02a5e9549d5e0b381b4/68747470733a2f2f692e696d6775722e636f6d2f707364494162702e706e67)](https://camo.githubusercontent.com/42156f4c5389054f34b85c22f98e32c8b5322363cdffe02a5e9549d5e0b381b4/68747470733a2f2f692e696d6775722e636f6d2f707364494162702e706e67)

Beautiful errors ON:

[![Image](https://camo.githubusercontent.com/0f51dad8e37b1b56deeaa675641654981d57fafceab2613fd344bea0a6ac9e92/68747470733a2f2f692e696d6775722e636f6d2f597472657862632e706e67)](https://camo.githubusercontent.com/0f51dad8e37b1b56deeaa675641654981d57fafceab2613fd344bea0a6ac9e92/68747470733a2f2f692e696d6775722e636f6d2f597472657862632e706e67)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2208d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ba0bf52dbd8e0208891f33b6802487d5ea52f8a44f8081386566d6408ff450?d=identicon)[pixaye](/maintainers/pixaye)

---

Tags

consoleerrorsexceptionsphpterminal

### Embed Badge

![Health badge](/badges/mkgor-beautiful-errors/health.svg)

```
[![Health](https://phpackages.com/badges/mkgor-beautiful-errors/health.svg)](https://phpackages.com/packages/mkgor-beautiful-errors)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
