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

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

nofw/error
==========

Common interface for error handlers

v0.1.1(9y ago)0554[3 issues](https://github.com/nofw/error/issues)1MITPHPPHP ^7.1

Since Apr 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/nofw/error)[ Packagist](https://packagist.org/packages/nofw/error)[ Docs](https://nofw.io)[ RSS](/packages/nofw-error/feed)WikiDiscussions master Synced 2w ago

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

Error handler
=============

[](#error-handler)

[![Latest Version](https://camo.githubusercontent.com/e99ce9c00509bd265afbd17613499cc92f68f2fc0bce32238976ef4c0a282ed5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6e6f66772f6572726f722e7376673f7374796c653d666c61742d737175617265)](https://github.com/nofw/error/releases)[![Build Status](https://camo.githubusercontent.com/712f54ce98455bfd9dc170c6a84e78fe3b116c2409cf46f10d9d0aa91144ceff/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e6f66772f6572726f722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/nofw/error)[![Code Coverage](https://camo.githubusercontent.com/9901430abb71504e929f77c87c5ba3cc6c386377883cb91bd3d74623bc6f5950/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6e6f66772f6572726f722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/nofw/error)[![Quality Score](https://camo.githubusercontent.com/ade60a0e71e4ce058684ef86f66b9d267b055140043dae49529c822b3575333a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6e6f66772f6572726f722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/nofw/error)[![Total Downloads](https://camo.githubusercontent.com/4572cfbd1bd28530595db2d98532d50a455a24e8a5755213f1155c2b1aa4bb76/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f66772f6572726f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nofw/error)

**Common interface for error handlers.**

Why?
----

[](#why)

With the introduction of [PSR-3](http://www.php-fig.org/psr/psr-3/) everyone's life became a whole lot easier: libraries could finally implement proper logging without relying on arbitrary implementations.

Logging however in case of applications is not always that simple. Error monitoring became quite common these days, and the current PSR-3 logger interface cannot always cover the needs of an error handler.

For example: an error monitor expects backtrace to be sent. With PSR-3 it's only possible, if you send it as part of the log message or send it in a context.

Futhermore, with PHP 7 we can finally catch errors as well, not just exceptions.

Install
-------

[](#install)

Via Composer

```
$ composer require nofw/error
```

Testing
-------

[](#testing)

```
$ make test
```

Security
--------

[](#security)

If you discover any security related issues, please contact us at .

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

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 ~1 days

Total

4

Last Release

3355d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e4e105cea62b616d4cb376b08a849b6a428f646998537de150d16a8eb537b90?d=identicon)[mark.sagikazar](/maintainers/mark.sagikazar)

---

Top Contributors

[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (33 commits)")

---

Tags

errorhandler

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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