PHPackages                             stuzzo/monolog-extender-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. stuzzo/monolog-extender-bundle

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

stuzzo/monolog-extender-bundle
==============================

Symfony Bundle that wraps Monolog extender library

2.1(8y ago)03.6k1MITPHPPHP ^7.0

Since Apr 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/stuzzo/monolog-extender-bundle)[ Packagist](https://packagist.org/packages/stuzzo/monolog-extender-bundle)[ RSS](/packages/stuzzo-monolog-extender-bundle/feed)WikiDiscussions master Synced 2mo ago

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

MonologExtenderBundle
=====================

[](#monologextenderbundle)

[![Total Downloads](https://camo.githubusercontent.com/6233cf81b492812f5f14900672c4566dc8ea9e448bbfa3810fd0e0fa10d18f37/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7374757a7a6f2f6d6f6e6f6c6f672d657874656e6465722d62756e646c652e737667)](https://packagist.org/packages/stuzzo/monolog-extender-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/e7cbfb5bfc007235b3f2a79898228881f9968373e108619c261e265e391a2538/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7374757a7a6f2f6d6f6e6f6c6f672d657874656e6465722d62756e646c652e737667)](https://packagist.org/packages/stuzzo/monolog-extender-bundle)

The `MonologExtenderBundle` provides integration of the [MonologExtender](https://github.com/stuzzo/monolog-extender)library into the Symfony framework.

Configuration
=============

[](#configuration)

This is an example configuration to use mail, stream and html formatter.

```
monolog:
    handlers:
        main_critical:
            type:           fingers_crossed
            action_level:   debug
            handler:        grouped
            excluded_404s:
                            - ^/
        grouped:
            type:           group
            members:        [streamed_error, deduplicated, slackwebhook]
        streamed_error:
            type:           rotating_file
            max_files:      5
            path:           "%kernel.logs_dir%/%kernel.environment%_error.log"
            level:          error
            formatter:      stuzzo.logger.stream.formatter
        deduplicated:
            type:           deduplication
            handler:        swift
        swift:
            type:           swift_mailer
            from_email:     %mailer_sender%
            to_email:       %mailer_to%
            subject:        "[PROJECT] - Error %kernel.environment%"
            level:          error
            formatter:      stuzzo.logger.html.formatter
            content_type:   text/html
        slackwebhook:
            type:           slackwebhook
            channel:        %channel% # You can use a channel (with #channelName) or a user (with @userName)
            webhook_url:    %hook_url%
            level:          critical
            include_extra:  true
            formatter:      stuzzo.logger.html.formatter
```

This is an example configuration to use slack and html processors.

```
services:
    app.processor.slack:
        class: Stuzzo\Bundle\MonologExtenderBundle\Processor\SlackUserDataProcessor # Add user info and better formatting
        arguments: ["@security.token_storage"]
        tags:
          - { name: monolog.processor, handler: slackwebhook } # It fires only for slack messages
          - { name: kernel.event_listener, event: kernel.request, method: onKernelRequest }

    app.processor.web:
        class: Stuzzo\Bundle\MonologExtenderBundle\Processor\WebUserDataProcessor # Add user info and better formatting
        arguments: ["@security.token_storage"]
        tags:
          - { name: monolog.processor, channel: request } # It fires only for channel request
          - { name: kernel.event_listener, event: kernel.request, method: onKernelRequest }
```

License
=======

[](#license)

This bundle is released under the [MIT license](LICENSE)

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 94.1% 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 ~57 days

Total

6

Last Release

3027d ago

Major Versions

1.2.0 → 2.02018-01-22

PHP version history (2 changes)1.0.0PHP &gt;=5.5.9

2.0PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/704442ac9c0b2295eab3d6496432eea69d4fe5f51b84e88e8d57512aa7769ac2?d=identicon)[stuzzo](/maintainers/stuzzo)

---

Top Contributors

[![stuzzo](https://avatars.githubusercontent.com/u/6000769?v=4)](https://github.com/stuzzo "stuzzo (16 commits)")[![andrewbrereton](https://avatars.githubusercontent.com/u/682893?v=4)](https://github.com/andrewbrereton "andrewbrereton (1 commits)")

---

Tags

loglogging

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stuzzo-monolog-extender-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/stuzzo-monolog-extender-bundle/health.svg)](https://phpackages.com/packages/stuzzo-monolog-extender-bundle)
```

###  Alternatives

[symfony/monolog-bundle

Symfony MonologBundle

2.9k249.1M1.5k](/packages/symfony-monolog-bundle)[sentry/sentry-symfony

Symfony integration for Sentry (http://getsentry.com)

73761.4M65](/packages/sentry-sentry-symfony)[nelmio/js-logger-bundle

Adds logging of JS errors in your Symfony application

1761.2M](/packages/nelmio-js-logger-bundle)[bugsnag/bugsnag-symfony

Official BugSnag notifier for Symfony applications.

453.0M3](/packages/bugsnag-bugsnag-symfony)

PHPackages © 2026

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