PHPackages                             playtini/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. playtini/logger-extra-bundle

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

playtini/logger-extra-bundle
============================

Add logs additional info

1.1(1y ago)04.4k↓33.3%proprietaryPHPPHP &gt;=7.4

Since Jan 9Pushed 1y ago3 watchersCompare

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

READMEChangelogDependencies (7)Versions (3)Used By (0)

Logger Extra Bundle
-------------------

[](#logger-extra-bundle)

Add logs extra information with [symfony/monolog-bundle](https://symfony.com/doc/current/logging.html). Using Gelf and Logstash to send/receive logs via UDP protocol

Installation
============

[](#installation)

### Step 1: Prepare config

[](#step-1-prepare-config)

Make sure [symfony/monolog-bundle](https://symfony.com/doc/current/logging.html) is installed.

Add env vars:

- `SERVICE_NAME`: service name
- `LOGSTASH_HOST`: logstash host
- `LOGSTASH_PORT`: logstash port

Add to `config/service.yaml`:

```
parameters:
    env(SERVICE_NAME): your_service_name
    env(LOGSTASH_HOST): 127.0.0.1
    env(LOGSTASH_PORT): 12201

    service_name: '%env(string:SERVICE_NAME)%'
    logstash_host: '%env(string:LOGSTASH_HOST)%'
    logstash_port: '%env(string:LOGSTASH_PORT)%'
```

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require playtini/logger-extra-bundle
```

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    Playtini\LoggerExtraBundle\ServiceLoggerExtraBundle::class => ['all' => true],
];
```

Usage
-----

[](#usage)

#### Additions

[](#additions)

Add custom data in each log entry.

```
service_logger_extra:
    processor:
        additions:
            key_addition_var_1: value_addition_var_1
            key_addition_var_2: value_addition_var_2
```

#### Loggers

[](#loggers)

By default, the bundle provides several loggers:

- on\_command (create a log entry with the cli data)
- on\_request (create a log entry with the request/response data)

Add config to include them:

```
service_logger_extra:
  logger:
    on_command: true
    on_request: true
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~656 days

Total

2

Last Release

568d ago

### Community

Maintainers

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

---

Top Contributors

[![Okspen](https://avatars.githubusercontent.com/u/388928?v=4)](https://github.com/Okspen "Okspen (3 commits)")[![luchaninov](https://avatars.githubusercontent.com/u/3829796?v=4)](https://github.com/luchaninov "luchaninov (2 commits)")

---

Tags

backendbundlephp

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

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

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

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

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[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)[contao/core-bundle

Contao Open Source CMS

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

PHPackages © 2026

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