PHPackages                             alireaza/error-handler - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. alireaza/error-handler

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

alireaza/error-handler
======================

This is Error Handler package.

1.2.0(4y ago)0282MITPHPPHP ^8.0.0

Since Dec 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/alireaza/error-handler)[ Packagist](https://packagist.org/packages/alireaza/error-handler)[ Docs](https://gitlab.com/alireaza/error-handler)[ Fund](https://www.linkedin.com/in/alireaza)[ RSS](/packages/alireaza-error-handler/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (2)

Error Handler
=============

[](#error-handler)

Install
-------

[](#install)

Via Composer

```
$ composer require alireaza/error-handler
```

Usage
-----

[](#usage)

```
use AliReaza\ErrorHandler\ErrorHandler;

$error_handler = new ErrorHandler();
$error_handler->register(true, true);
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Every ~37 days

Total

3

Last Release

1531d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b91bc2861666a5563a023d6a2334e5211892a80abbeae2d35c3e94fe55622ef?d=identicon)[alireaza](/maintainers/alireaza)

---

Top Contributors

[![alireaza](https://avatars.githubusercontent.com/u/14136656?v=4)](https://github.com/alireaza "alireaza (3 commits)")

---

Tags

composererror-handlerphperrorhandlererror-handleralireaza

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alireaza-error-handler/health.svg)

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

###  Alternatives

[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k227.1M273](/packages/sentry-sentry)[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k114.3M154](/packages/sentry-sentry-laravel)[sentry/sdk

This is a meta package of sentry/sentry. We recommend using sentry/sentry directly.

327134.8M151](/packages/sentry-sdk)[e2ex/e2ex

Converts PHP Errors to Exceptions and (optionally) logs PHP Errors, Notices and Warnings with a PSR-3 compatible logger

101.5k](/packages/e2ex-e2ex)

PHPackages © 2026

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