PHPackages                             twodudes/error-logger-bundle - 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. twodudes/error-logger-bundle

ActiveSymfony-bundle

twodudes/error-logger-bundle
============================

Symfony2 production error logger. Logs notices, warnings, exceptions and fatal exceptions. Groups similar errors together and displays additional server information.

1133PHP

Since Nov 5Pushed 10y ago2 watchersCompare

[ Source](https://github.com/two-dudes/2Dudes-ErrorLoggerBundle)[ Packagist](https://packagist.org/packages/twodudes/error-logger-bundle)[ RSS](/packages/twodudes-error-logger-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

#### Description

[](#description)

This bundle helps you to accumulate and browse errors in the production environment. Repetitive errors are grouped together.

#### Installation

[](#installation)

1. In your composer.json require section:

    "twodudes/error-logger-bundle": "dev-master"
2. Run "composer update" and add in the bundles configuration array:

```

new TwoDudes\ErrorLoggerBundle\TwoDudesErrorLoggerBundle()

```

3. In your routing.yml:

```

    two_dudes_errors:
        resource: "@TwoDudesErrorLoggerBundle/Resources/config/routing.yml"

```

4. In your config.prod:

```

two_dudes:
  error_logger:
    storage:
      service: two_dudes.storage.db
      params:
        db_host: xxxxx
        db_port: xxxxx
        db_name: xxxxx
        db_user: xxxxx
        db_password: xxxxx

```

5. Create a table to store errors:

```

php app/console twodudes:errorlogger:setup

```

Now you can access /\_errors page, where everything will be displayed. Don't forget to protect it with a firewall. If you want to create your own storage - just implement StorageManagerInterface.

#### TIPS:

[](#tips)

1. How to work doctrine migrations.

```

doctrine:
    dbal:
        schema_filter: ~^(?!errors)~

```

2. How to protect /\_errors page in security.yml

```

security:

    encoders:
        Symfony\Component\Security\Core\User\User: plaintext

    providers:
        inmemory:
            memory:
                users:
                    admin: { password: adminpass }

    firewalls:
        errors:
            pattern:  ^/_errors
            http_basic:
                provider: inmemory

```

3. Disable 404 errors logging (Which are 'no route found')

```

two_dudes:
  error_logger:
    log404: false

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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/8eb68ea0a238b346910752a25d7ed2ba13d13636a5eeffa8b7f817164d73cbe5?d=identicon)[megawilddaddy](/maintainers/megawilddaddy)

---

Top Contributors

[![whyte624](https://avatars.githubusercontent.com/u/1901054?v=4)](https://github.com/whyte624 "whyte624 (10 commits)")[![megawilddaddy](https://avatars.githubusercontent.com/u/1647204?v=4)](https://github.com/megawilddaddy "megawilddaddy (1 commits)")

### Embed Badge

![Health badge](/badges/twodudes-error-logger-bundle/health.svg)

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

PHPackages © 2026

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