PHPackages                             thomascantonnet/tc-errorhandler - 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. thomascantonnet/tc-errorhandler

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

thomascantonnet/tc-errorhandler
===============================

ErrorHandler for ZF2 apps

v1.2.5(12y ago)21.1kMITPHPPHP &gt;=5.3.3

Since Aug 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ThomasCantonnet/TC-ErrorHandler)[ Packagist](https://packagist.org/packages/thomascantonnet/tc-errorhandler)[ RSS](/packages/thomascantonnet-tc-errorhandler/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (10)Used By (0)

TC-ErrorHandler
===============

[](#tc-errorhandler)

[![Build Status](https://camo.githubusercontent.com/53e19eec523ae6a45f3651283c3d9b89cd18d9900d2e560ba4013a5043bf6092/68747470733a2f2f7472617669732d63692e6f72672f54686f6d617343616e746f6e6e65742f54432d4572726f7248616e646c65722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/ThomasCantonnet/TC-ErrorHandler)

This library aims at providing a simple way to handle errors in all of your ZF2 application. When an error is triggered, whether it is in your controller, your libraries or anywhere in your views, an exception is thrown hence preserving your application from unmonitored errors. It is then possible to log them through the MvcEvent::EVENT\_RENDER\_ERROR event.

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

[](#installation)

Suggested installation method is through [composer](http://getcomposer.org/):

```
php composer.phar require thomascantonnet/tc-errorhandler:1.*
```

Setup
-----

[](#setup)

If you use Zend Framework 2, you can now enable this module in your application by adding it to `config/application.config.php` as `TCErrorHandler`. Make sure to set it as the first module to be loaded, or at least before any module you want to monitor.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

9

Last Release

4674d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a4485b0b05ddad65b401182fd8e0756cffb7ce684a271ac336b21d6e97e8055?d=identicon)[ThomasCantonnet](/maintainers/ThomasCantonnet)

---

Top Contributors

[![tca3](https://avatars.githubusercontent.com/u/2684391?v=4)](https://github.com/tca3 "tca3 (26 commits)")

---

Tags

zf2

### Embed Badge

![Health badge](/badges/thomascantonnet-tc-errorhandler/health.svg)

```
[![Health](https://phpackages.com/badges/thomascantonnet-tc-errorhandler/health.svg)](https://phpackages.com/packages/thomascantonnet-tc-errorhandler)
```

###  Alternatives

[facile-it/sentry-module

This module allows integration of Sentry Client into laminas and mezzio

19393.4k](/packages/facile-it-sentry-module)[snapshotpl/zf-snap-php-debug-bar

PHP Debug Bar module for Zend Framework 2

3026.1k](/packages/snapshotpl-zf-snap-php-debug-bar)[los/loslog

LosLog provides some log utility

1651.2k2](/packages/los-loslog)

PHPackages © 2026

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