PHPackages                             kucera/monolog-extensions-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. kucera/monolog-extensions-bundle

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

kucera/monolog-extensions-bundle
================================

Bundle adding a set of Monolog extensions.

v0.2.0(10y ago)27.4k5MITPHPPHP &gt;=5.3.2

Since Aug 17Pushed 10y ago2 watchersCompare

[ Source](https://github.com/pavelkucera/monolog-extensions-bundle)[ Packagist](https://packagist.org/packages/kucera/monolog-extensions-bundle)[ Docs](https://github.com/pavelkucera/monolog-extensions-bundle)[ RSS](/packages/kucera-monolog-extensions-bundle/feed)WikiDiscussions master Synced 1mo ago

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

kucera/monolog-extensions-bundle
================================

[](#kuceramonolog-extensions-bundle)

[![Build Status](https://camo.githubusercontent.com/20d4f3c6ef5ab6edb250c8e7c8b785e7c3338809801c65bf7efd25e6dfcaea79/68747470733a2f2f7472617669732d63692e6f72672f706176656c6b75636572612f6d6f6e6f6c6f672d657874656e73696f6e732d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pavelkucera/monolog-extensions-bundle)[![Downloads this Month](https://camo.githubusercontent.com/ec9fad12ac345b7eb27cd96594bf5715d5acb8358cc3969b23c14d12c5303084/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6b75636572612f6d6f6e6f6c6f672d657874656e73696f6e732d62756e646c652e737667)](https://packagist.org/packages/kucera/monolog-extensions-bundle)[![Latest stable](https://camo.githubusercontent.com/baf2295acacd80d4498613795424283496d8b0826627a5f6eb9cffeae04f616a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b75636572612f6d6f6e6f6c6f672d657874656e73696f6e732d62756e646c652e737667)](https://packagist.org/packages/kucera/monolog-extensions-bundle)

Bundle providing mainly integration of [Tracy](https://github.com/nette/tracy) into [Symfony](https://symfony.com).

Tracy capabilities
------------------

[](#tracy-capabilities)

Long story short, Tracy helps you debug your applications when an error occurs providing you lots of information about what just happened. Check out [live example](http://nette.github.io/tracy/tracy-exception.html) and [Tracy documentation](https://github.com/nette/tracy#visualization-of-errors-and-exceptions)to see the full power of this tool.

To replace default Symfony Bluescreen you can use [Tracy Bluescreen Bundle](https://github.com/VasekPurchart/Tracy-Blue-Screen-Bundle)fully compatible with this library.

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

[](#installation)

Using [Composer](http://getcomposer.org/):

```
$ composer require kucera/monolog-extensions-bundle:~0.1.0
```

### Register Bundle

[](#register-bundle)

```
// AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Kucera\MonologExtensionsBundle\KuceraMonologExtensionsBundle(), // what a terrible name!
    );
}
```

### Register a new Monolog handler

[](#register-a-new-monolog-handler)

```
monolog:
    handlers:
        blueScreen:
            type: blue screen
```

Profit!
-------

[](#profit)

Any error/exception making it to the top is automatically saved in `%kernel.logs_dir%/blueScreen`. You can easily change the log directory, see full configuration options below:

```
# config.yml
monolog:
    handlers:
        blueScreen:
            type: blue screen
            path: %kernel.logs_dir%/blueScreen # must exist
            level: debug
            bubble: true
```

This works out of the box and also in production mode!

Tips
----

[](#tips)

### Log notices/warnings in production

[](#log-noticeswarnings-in-production)

Use Symfony parameter `debug.error_handler.throw_at`: (see  for possible values)

```
parameters:
    debug.error_handler.throw_at: -1
```

### Using Tracy\\Debugger::dump

[](#using-tracydebuggerdump)

To prevent forgotten dumps to appear on production you can simply change the mode like this:

```
// AppKernel.php

use Tracy\Debugger;

public function __construct($environment, $debug)
{
    Debugger::$productionMode = $environment === 'prod';
    parent::__construct($environment, $debug);
}
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.2% 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 ~499 days

Total

2

Last Release

3783d ago

### Community

Maintainers

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

---

Top Contributors

[![pavelkucera](https://avatars.githubusercontent.com/u/332800?v=4)](https://github.com/pavelkucera "pavelkucera (16 commits)")[![Vrtak-CZ](https://avatars.githubusercontent.com/u/112567?v=4)](https://github.com/Vrtak-CZ "Vrtak-CZ (3 commits)")

---

Tags

logsymfonyloggingmonologtracyblue screen

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kucera-monolog-extensions-bundle/health.svg)

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

PHPackages © 2026

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