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

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

carpediem/errors
================

Capture errors

0.2.0(10y ago)131MITPHPPHP &gt;=5.4.0

Since Jan 13Pushed 10y ago3 watchersCompare

[ Source](https://github.com/carpediem/errors)[ Packagist](https://packagist.org/packages/carpediem/errors)[ RSS](/packages/carpediem-errors/feed)WikiDiscussions master Synced 2mo ago

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

Errors
======

[](#errors)

[![Latest Version](https://camo.githubusercontent.com/1c87c898c1e896bf1634878f65b3cd7eb4e3dcbee75d6a23352ae437c5b33797/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f63617270656469656d2f6572726f72732e7376673f7374796c653d666c61742d737175617265)](https://github.com/carpediem/errors/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/1b9a514667ea546c612081b487ccb3dbda7ea9eae64242570622bea4489aed7d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f63617270656469656d2f6572726f72732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/carpediem/errors)[![HHVM Status](https://camo.githubusercontent.com/c60a4eca324c7afe6ef45b6a648225f8ef290769b12f81a9dd604af9e8cd8086/68747470733a2f2f696d672e736869656c64732e696f2f6868766d2f63617270656469656d2f6572726f72732e7376673f7374796c653d666c61742d737175617265)](http://hhvm.h4cc.de/package/carpediem/errors)[![Coverage Status](https://camo.githubusercontent.com/fee8ad57787de69f1ed4418d16cda850be5767b8159b600733d70d01b73edf9e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f63617270656469656d2f6572726f72732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/carpediem/errors/code-structure)[![Quality Score](https://camo.githubusercontent.com/7979e379d18152e1d0e9b0eb5b65c3527e4e1d96b7238331bfc77d80ccc9b593/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f63617270656469656d2f6572726f72732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/carpediem/errors)[![Total Downloads](https://camo.githubusercontent.com/9bb834f13af134be9f21b187d3da592b356a99dda0464fc1a94cedba1c028abc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63617270656469656d2f6572726f72732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/carpediem/errors)

This library helps capturing and transforming PHP's error into exception. Part of this library is based on the excellent work in the [Haldayne\\Fox](https://github.com/haldayne/fox) project.

Highlights
----------

[](#highlights)

- Enables manipulating PHP's errors in a predicable way

Requirements
------------

[](#requirements)

You need **PHP &gt;= 5.4.0** but the latest stable version of PHP/HHVM is recommended.

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

[](#installation)

The easiest way to install `Carpediem\Errors` is by using composer.

```
$ composer require carpediem/errors
```

Documentation
-------------

[](#documentation)

Full documentation can be found at [carpediem.github.io/errors](http://carpediem.github.io/errors). Contribute to this documentation in the [gh-pages branch](https://github.com/carpediem/errors/tree/gh-pages)

Testing
-------

[](#testing)

The library has a [PHPUnit](https://phpunit.de) test suite and a coding style compliance test suite using [PHP CS Fixer](http://cs.sensiolabs.org/). To run the tests, run the following command from the project folder.

```
$ composer test
```

Contributing
------------

[](#contributing)

Contributions are welcome and will be fully credited. Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Bishop Bettini and Haldayne PHP Componentry](https://github.com/haldayne/fox)
- [All Contributors](https://github.com/carpediem/errors/graphs/contributors)

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

2

Last Release

3774d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0305354cad79c230bdffbf5b34cdf686701f4809f64626975197456c2b41fe6b?d=identicon)[ignace-dev](/maintainers/ignace-dev)

---

Top Contributors

[![ignace-dev](https://avatars.githubusercontent.com/u/12458296?v=4)](https://github.com/ignace-dev "ignace-dev (8 commits)")

---

Tags

error-reportingerros

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[helhum/sentry-typo3

Sentry Integration for TYPO3

1833.5k](/packages/helhum-sentry-typo3)

PHPackages © 2026

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