PHPackages                             itk-dev/monolog-db-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. itk-dev/monolog-db-bundle

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

itk-dev/monolog-db-bundle
=========================

Monolog handler for logging to a database table

1.0.1(8y ago)037MITPHPPHP &gt;=7.0.0

Since Feb 6Pushed 8y ago3 watchersCompare

[ Source](https://github.com/itk-dev/monolog-db-bundle)[ Packagist](https://packagist.org/packages/itk-dev/monolog-db-bundle)[ RSS](/packages/itk-dev-monolog-db-bundle/feed)WikiDiscussions master Synced 6d ago

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

Monolog db bundle
=================

[](#monolog-db-bundle)

Write log entries to a database.

Installation:

```
composer require itk-dev/monolog-db-bundle "^1.0"
```

Add bundle in your `AppKernel.php`:

```
    public function registerBundles()
    {
        $bundles = [
            …,
            new ItkDev\MonologDbBundle\ItkDevMonologDbBundle(),
            …
        ];

        …
    }
```

Configuration:

```
monolog:
    channels: ['db']
    handlers:
        db:
            channels: ['db']
            type: service
            id: itk_dev.monolog.db_handler
```

Usage:

```
…
$logger = $container->get('monolog.logger.db');
$logger->info($message);
…
```

Entries logged have a `type` property which can be used for filtering entries. The type can be set by adding the `type` key to the logging context:

```
$logger->info($message, [
  'type' => 'my_log_entry',
]);
```

Command:

```
bin/console itk-dev:monolog-db:show --help
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

3022d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d838759fdace714b1c00ca64212935cb06568a6d641169301aa2ed05eed16f9?d=identicon)[rimi-itk](/maintainers/rimi-itk)

---

Top Contributors

[![rimi-itk](https://avatars.githubusercontent.com/u/11267554?v=4)](https://github.com/rimi-itk "rimi-itk (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/itk-dev-monolog-db-bundle/health.svg)

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

###  Alternatives

[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1537.5k](/packages/bacula-web-bacula-web)

PHPackages © 2026

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