PHPackages                             xeonys/logger-extra-library - 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. xeonys/logger-extra-library

Abandoned → [inextensodigital/logger-extra-library](/?search=inextensodigital%2Flogger-extra-library)ArchivedLibrary[Logging &amp; Monitoring](/categories/logging)

xeonys/logger-extra-library
===========================

Logger extra useful library

1.3.1(8y ago)11.6k5PHPPHP &gt;=5.5

Since Sep 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/xeonys/logger-extra-library)[ Packagist](https://packagist.org/packages/xeonys/logger-extra-library)[ RSS](/packages/xeonys-logger-extra-library/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

Xeonys Logger Extra
===================

[](#xeonys-logger-extra)

- Add extra data to logs
- ELK stack default configuration

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

[](#installation)

composer.json

```
    "require": {
        "graylog2/gelf-php": "~1.4",
        "inextensodigital/logger-extra-library": "~1.0"
    }
```

AppKernel

```
$bundles[] = new Xeonys\LoggerExtra\App\Bundle\XeonysLoggerExtraBundle();
```

config.yml

```
xeonys_logger_extra:
    fields:
        app_name:     app_name #your application name.
        app_env:      %xeonys.logger_extra.app_env%
        server_stack: %xeonys.logger_extra.server_stack%
```

config\_prod.yml

```
imports:
    - { resource: config.yml }
    - { resource: "@XeonysLoggerExtraBundle/Resources/config/monolog_gelf.yml" }
```

parameters.yml

```
    xeonys.elk.gelf.host: elkdomain.tld
    xeonys.elk.gelf.port: 12201 # in local environment, use a different port, to not polluate elk.
    xeonys.logger_extra.app_env: prod
    xeonys.logger_extra.server_stack: local

```

**Do you deal with long process or subprocess which needs finger crossed passthruLevel reinitialized ?**

```
protected function execute(InputInterface $input, OutputInterface $output)
{
    $logger          = $this->getContainer()->get('logger');
    $subprocessScope = $this->getContainer()->get('xeonys.logger_extra.sub_process_scope');

    for ($i = 1; $i enter();

        $logger->debug("Begin process($i)");

        try {
            // do something
            $logger->debug("It is ok !!! ($i)");
        } catch (\Exception $e) {
            $logger->critical("Error on ($i)");
        }

        $logger->debug("End process($i)");
    }
}

```

Imagine we have an error on 3rd $i iteration:

**Before**:

You'll have EACH lines logged, because 3rd thrown an error.

**Now**:

You'll have:

```
[debug] Begin process (3)
[critical] Error in ($3)
[debug] end process (3)

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 53.8% 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 ~123 days

Recently: every ~111 days

Total

6

Last Release

2952d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47c3006a9e7662031ee9d3fa064238fef88479fd7d60f18dd47f038fbbd7dc5a?d=identicon)[steph\_py](/maintainers/steph_py)

---

Top Contributors

[![stephpy](https://avatars.githubusercontent.com/u/232744?v=4)](https://github.com/stephpy "stephpy (7 commits)")[![mtrudu](https://avatars.githubusercontent.com/u/10370955?v=4)](https://github.com/mtrudu "mtrudu (4 commits)")[![aubryfr](https://avatars.githubusercontent.com/u/2647490?v=4)](https://github.com/aubryfr "aubryfr (1 commits)")[![Gui11aum3](https://avatars.githubusercontent.com/u/21953442?v=4)](https://github.com/Gui11aum3 "Gui11aum3 (1 commits)")

---

Tags

legacylibraryphp

### Embed Badge

![Health badge](/badges/xeonys-logger-extra-library/health.svg)

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

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[sulu/skeleton

Project template for starting your new project based on the Sulu content management system

29734.8k](/packages/sulu-skeleton)[rollbar/rollbar-php-symfony-bundle

Bundle for Symfony that integrates Rollbar tracker

281.4M](/packages/rollbar-rollbar-php-symfony-bundle)[macpaw/sentry-monolog-adapter

Sentry monolog logging bundle

25238.5k](/packages/macpaw-sentry-monolog-adapter)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)[authbucket/oauth2-symfony-bundle

Symfony OAuth2Bundle

829.8k1](/packages/authbucket-oauth2-symfony-bundle)

PHPackages © 2026

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