PHPackages                             tarun-singhal/apperrormanager - 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. tarun-singhal/apperrormanager

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

tarun-singhal/apperrormanager
=============================

To caputure the Api Errors/Exceptions in Apigility or REST API.

06PHP

Since Dec 30Pushed 10y ago1 watchersCompare

[ Source](https://github.com/tarun-singhal/AppErrorManager)[ Packagist](https://packagist.org/packages/tarun-singhal/apperrormanager)[ RSS](/packages/tarun-singhal-apperrormanager/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

AppErrorManager
===============

[](#apperrormanager)

AppErrorManager is used to capture the API error and exception on fly. It is very usefull to manage the single place to capture the error message and error code.

- Steps to Enable and usage of AppErrorMAnager Module

Step 1 :To enable the Module in ZF2, Include the module name inside application.config.php file

```
return array(
  ...,
  ...,
  'ErrorManager'
);
```

Step 2: now if you want to capture the api exception then change in ApiProblem i.e. new ApiProblem(200, '1001'); where, '1001' : is the error code,

Step 3: Open the config/Error.ini file, please the error code inside that like as below:

```
[test.rest.respapiname]
1001 = api problem found
```

Step 4: Now you can manage the api code and message at one place.

I hope it will help you to handle exception/error and to identify the actual debug happening in the API Calls.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

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/8d61a88358c75c5d067dbebc633487630347e475cfa61dec0c65f0108bbce2ba?d=identicon)[tarun-singhal](/maintainers/tarun-singhal)

---

Top Contributors

[![tarun-singhal](https://avatars.githubusercontent.com/u/7371453?v=4)](https://github.com/tarun-singhal "tarun-singhal (2 commits)")

### Embed Badge

![Health badge](/badges/tarun-singhal-apperrormanager/health.svg)

```
[![Health](https://phpackages.com/badges/tarun-singhal-apperrormanager/health.svg)](https://phpackages.com/packages/tarun-singhal-apperrormanager)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B10.8k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1938.5M261](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M315](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)[relaxart/monolog-docker-handler

Docker handler for monolog

1442.6k](/packages/relaxart-monolog-docker-handler)

PHPackages © 2026

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