PHPackages                             minond/nice\_error - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. minond/nice\_error

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

minond/nice\_error
==================

Nicer error output

0363PHP

Since Mar 28Pushed 12y ago1 watchersCompare

[ Source](https://github.com/minond/NiceError)[ Packagist](https://packagist.org/packages/minond/nice_error)[ RSS](/packages/minond-nice-error/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

NiceError
=========

[](#niceerror)

Nicer errors for PHP. Just include `"minond/nice_error": "dev-master"` in your composer file, set the NICE\_ERRORS environment variable to "1", and that's it:

```
{
	"require-dev": {
		"minond/nice_error": "dev-master"
	}
}
```

```
NICE_ERRORS=1 php your_php_script.php

```

### Browser output

[](#browser-output)

[![screenshot](https://camo.githubusercontent.com/1168aa64179fb0bba39dd21d745892f65e2d861aa464376a7b002aa77371dc2a/68747470733a2f2f7261772e6769746875622e636f6d2f6d696e6f6e642f4e6963654572726f722f6d61737465722f7265736f75726365732f726561646d652f62726f777365722e706e67)](https://camo.githubusercontent.com/1168aa64179fb0bba39dd21d745892f65e2d861aa464376a7b002aa77371dc2a/68747470733a2f2f7261772e6769746875622e636f6d2f6d696e6f6e642f4e6963654572726f722f6d61737465722f7265736f75726365732f726561646d652f62726f777365722e706e67)

### CLI output

[](#cli-output)

[![screenshot](https://camo.githubusercontent.com/9d4b134b82869748af6353c1f5860b810011aa3d8ca5d6b6a237269f1c28fafc/68747470733a2f2f7261772e6769746875622e636f6d2f6d696e6f6e642f4e6963654572726f722f6d61737465722f7265736f75726365732f726561646d652f636c692e706e67)](https://camo.githubusercontent.com/9d4b134b82869748af6353c1f5860b810011aa3d8ca5d6b6a237269f1c28fafc/68747470733a2f2f7261772e6769746875622e636f6d2f6d696e6f6e642f4e6963654572726f722f6d61737465722f7265736f75726365732f726561646d652f636c692e706e67)

Inspired by \[Better Errors\]([https://github.com/charliesome/better\_errors](https://github.com/charliesome/better_errors)).

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3edcb2fa5ed594ffb1c9d8d8c36c06540b74755f4cdef4d4e69d71c3c7c7495e?d=identicon)[minond](/maintainers/minond)

---

Top Contributors

[![minond](https://avatars.githubusercontent.com/u/601509?v=4)](https://github.com/minond "minond (44 commits)")

### Embed Badge

![Health badge](/badges/minond-nice-error/health.svg)

```
[![Health](https://phpackages.com/badges/minond-nice-error/health.svg)](https://phpackages.com/packages/minond-nice-error)
```

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.4k](/packages/spatie-craft-ray)

PHPackages © 2026

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