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.2(1w ago)04.6k↓54.4%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 2d ago

READMEChangelogDependencies (14)Versions (5)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

38

—

LowBetter than 83% of packages

Maintenance63

Regular maintenance activity

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

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

Total

3

Last Release

8d 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

[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[open-dxp/opendxp

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

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

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