PHPackages                             gel/error-logging - 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. gel/error-logging

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

gel/error-logging
=================

Logging for PHP 5.3

v1.4(10y ago)0191MITPHPPHP &gt;=5.3.0

Since May 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/gusseleet/ErrorLogger)[ Packagist](https://packagist.org/packages/gel/error-logging)[ Docs](https://github.com/gusseleet/)[ RSS](/packages/gel-error-logging/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (5)Used By (0)

ErrorLogger
===========

[](#errorlogger)

Install
-------

[](#install)

Include gel/error-logging in your composer.json.

```
   {
    "require": {
        "gel/error-logging": "1.4"
    }
   }

```

Then do a validate/update.

```
 composer validate
 composer install --no-dev

```

Or use this command.

```
 composer require gel/error-logging

```

Usage
-----

[](#usage)

Create a new instance of the class, and choose where the file will be logged via the constructor.

```
 $myErrorLogger = new gel\logger\ErrorLogger('tmp/example/example.log.php');

```

Error messages will be removed by default. If you wanna turn them on simple call the function displayErrors.

```
$myErrorLogger->displayErrors(true)

```

You cant generate an error by using the function trigger\_error.

```
trigger_error("Error is triggerd", E_USER_ERROR);

```

Error reporting is set to -1, but you can change it via changeErrorReporting function.

```
$myErrorLogger->changeErrorReporting("E_ERROR | E_WARNING");

```

Like always, try to create an instance of this class as early as possible.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

3711d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/326620?v=4)[gel](/maintainers/gel)[@gel](https://github.com/gel)

---

Top Contributors

[![gusseleet](https://avatars.githubusercontent.com/u/15208564?v=4)](https://github.com/gusseleet "gusseleet (31 commits)")

---

Tags

loglogging

### Embed Badge

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

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

###  Alternatives

[monolog/monolog

Sends your logs to files, sockets, inboxes, databases and various web services

21.4k1.0B8.0k](/packages/monolog-monolog)[symfony/monolog-bundle

Symfony MonologBundle

2.9k262.9M1.8k](/packages/symfony-monolog-bundle)[sentry/sentry

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

1.9k247.1M324](/packages/sentry-sentry)[sentry/sentry-laravel

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

1.3k127.1M193](/packages/sentry-sentry-laravel)[rap2hpoutre/laravel-log-viewer

A Laravel log reader

3.2k15.4M78](/packages/rap2hpoutre-laravel-log-viewer)[sentry/sdk

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

327139.0M164](/packages/sentry-sdk)

PHPackages © 2026

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