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

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

deamon/logger-extra-bundle
==========================

This bundle is here to add some extra info about the context in your logs.

v7.1.0(2mo ago)420.2k↓40%9MITPHPPHP &gt;=8.2CI passing

Since Mar 5Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/FrDeamon/logger-extra-bundle)[ Packagist](https://packagist.org/packages/deamon/logger-extra-bundle)[ RSS](/packages/deamon-logger-extra-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (17)Versions (32)Used By (0)

DeamonLoggerExtra Bundle
========================

[](#deamonloggerextra-bundle)

[![Build status](https://github.com/FrDeamon/logger-extra-bundle/actions/workflows/unit-tests.yml/badge.svg?branch=master)](https://github.com/FrDeamon/logger-extra-bundle/actions/workflows/unit-tests.yml/badge.svg?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4373a3734ae7e26870292c3df061256da85d138b7aa7d1c88bf66b996bdd3bc0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f46724465616d6f6e2f6c6f676765722d65787472612d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/FrDeamon/logger-extra-bundle/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/5ef075a102ab1e735afdb4f13bcb4d2900fa32a937740d938b0a6ace2b6a622f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f46724465616d6f6e2f6c6f676765722d65787472612d62756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/FrDeamon/logger-extra-bundle/?branch=master)[![symfony version](https://camo.githubusercontent.com/478cf8e5389b29dd2c8454d67ec8093a5a539264a093f2dbe03417c172c50667/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d2533453d372e302d626c75652e737667)](https://camo.githubusercontent.com/478cf8e5389b29dd2c8454d67ec8093a5a539264a093f2dbe03417c172c50667/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d2533453d372e302d626c75652e737667)[![php version](https://camo.githubusercontent.com/c764f17b1acb3bf5cd90d636ab149f5bfde997b3dc5dd80cc82c997a55c10160/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d382e322d626c75652e737667)](https://camo.githubusercontent.com/c764f17b1acb3bf5cd90d636ab149f5bfde997b3dc5dd80cc82c997a55c10160/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d382e322d626c75652e737667)

This project is used to add extra context information in your logs.

If you need compatibility with previous Symfony versions, have a look at previous releases.

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

[](#requirements)

php &gt;=8.2

symfony/security-core symfony/dependency-injection symfony/monolog-bridge symfony/http-kernel symfony/http-foundation symfony/config

Compatible with Symfony starting from 6.0.
Tags follow Symfony versions.

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

[](#installation)

You need to add a package to your dependency list :

```
    // composer.json
    "deamon/logger-extra-bundle": "^7.0"

```

Then enable the bundle into your kernel

```
    // config/bundles.php
    return [
        // ...
        App\Acme\TestBundle\AcmeTestBundle::class => ['all' => true],
    ];

```

Finally you need to configure the bundle.

Config Example
--------------

[](#config-example)

Given this config sample of a project:

```
// config/packages/monolog.yml
monolog:
    handlers:
        main:
            type: stream
            path: "%kernel.logs_dir%/%kernel.environment%.log"
            level: debug
            channels: ["!event"]

```

With this example of monolog config, you can configure this bundle to only add extra info on `main` handler.

```
// config/packages/deamon_logger_extra.yml
deamon_logger_extra:
    application:
        name: "loc-deamonfront"
        version: "v0.1"
    handlers: [main]

```

Config reference
----------------

[](#config-reference)

```
// config/packages/deamon_logger_extra.yaml
deamon_logger_extra:
    application:
        name: "loc-deamonfront" # default to null
        locale: "fr" # default to null
        version: "v0.1" # default to null
    handlers: [main] # the only required field
    config:
        channel_prefix: "v0.1" # default to null
        user_class: "\\Symfony\\\Component\\Security\\Core\\User\\UserInterface" # default to null
        user_methods:
            user_name: getUsername # default value
        display:
            env: false # default to true
            locale: false # default to true
            application_name: false # default to true
            url: false # default to true
            route: false # default to true
            user_agent: false # default to true
            accept_encoding: false # default to true
            client_ip: false # default to true
            user: false # default to true
            global_channel: false # default to true

```

Minimal configuration
---------------------

[](#minimal-configuration)

```
// config/packages/deamon_logger_extra.yaml
deamon_logger_extra:
    application: null
    handlers: ['main']
    config: null

```

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance84

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 79.4% 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 ~113 days

Recently: every ~326 days

Total

30

Last Release

80d ago

Major Versions

1.0.x-dev → 2.0.x-dev2019-10-07

v2.1.2 → v4.0.42019-10-07

v4.0.4 → v5.0.02020-06-15

4.0.x-dev → v6.0.02022-04-25

5.0.x-dev → v7.0.02025-09-08

PHP version history (6 changes)v1.0.0PHP &gt;=5.6

v1.1.0PHP &gt;=5.5

v4.0-rc1PHP &gt;=7.1

v5.0.0PHP &gt;=7.2

v6.0.0PHP &gt;=8.0.2

v7.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/bac0cbed6d7ad2d35441b94fa670ab53396d0f93d5cd24e9d45206e752d222fa?d=identicon)[Deamon](/maintainers/Deamon)

---

Top Contributors

[![Deamon](https://avatars.githubusercontent.com/u/560209?v=4)](https://github.com/Deamon "Deamon (27 commits)")[![thomasp1992](https://avatars.githubusercontent.com/u/44441398?v=4)](https://github.com/thomasp1992 "thomasp1992 (3 commits)")[![Laiah](https://avatars.githubusercontent.com/u/26041154?v=4)](https://github.com/Laiah "Laiah (2 commits)")[![jadelrab](https://avatars.githubusercontent.com/u/35645?v=4)](https://github.com/jadelrab "jadelrab (1 commits)")[![louispaulet](https://avatars.githubusercontent.com/u/11891363?v=4)](https://github.com/louispaulet "louispaulet (1 commits)")

---

Tags

log

### Embed Badge

![Health badge](/badges/deamon-logger-extra-bundle/health.svg)

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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