PHPackages                             thedomeffm/monolog-dbal-handler-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. thedomeffm/monolog-dbal-handler-bundle

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

thedomeffm/monolog-dbal-handler-bundle
======================================

DBAl (doctrine) handler to push your logs to your database

v0.0.1(2y ago)035MITPHPPHP &gt;=8.1

Since Dec 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/thedomeffm/MonologDbalHandlerBundle)[ Packagist](https://packagist.org/packages/thedomeffm/monolog-dbal-handler-bundle)[ RSS](/packages/thedomeffm-monolog-dbal-handler-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

MonologDbalHandlerBundle
========================

[](#monologdbalhandlerbundle)

Adds a handler to monolog which can persist your logs into your database. The default table name is `monolog_log` and it uses the monolog json formatter to format the logs.

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

[](#installation)

`composer require thedomeffm/monolog-dbal-handler-bundle`

Configuration
-------------

[](#configuration)

You *can* override the table name if you want. I've not added a recipe (or what ever I need to create 🤷), so you need to create the config by yourself.

```
# thedomeffm_monolog_dbal_handler.yaml

thedomeffm_monolog_dbal_handler:
    dbal:
        log_table_name: "the_table_name_you_prefer"
```

Edit your monolog configuration

```
# monolog.yaml

monolog:
    handlers:
        # your other handler...
        dbal:
            type: service
            id: thedomeffm_monolog_dbal_handler
```

Here is an example how a production config could look like:

```
# monolog.yaml

when@prod:
    monolog:
        handlers:
            main:
                type: fingers_crossed
                action_level: error
                handler: main_group
                excluded_http_codes: [404, 405]
                buffer_size: 50

            main_group:
                type: group
                members: ['error_stream', 'dbal']

            error_stream:
                type: stream
                path: php://stderr
                level: debug
                formatter: monolog.formatter.json

            dbal:
                type: service
                id: thedomeffm_monolog_dbal_handler

            # your other handler...
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

878d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d5ceb20b0dbb97f2efa3a6e54eaebf27baba1fa06c8ec9ee18e6c56ee1752f7?d=identicon)[thedomeffm](/maintainers/thedomeffm)

---

Top Contributors

[![thedomeffm](https://avatars.githubusercontent.com/u/29406401?v=4)](https://github.com/thedomeffm "thedomeffm (1 commits)")

### Embed Badge

![Health badge](/badges/thedomeffm-monolog-dbal-handler-bundle/health.svg)

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

81733.7k](/packages/flow-php-flow)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)

PHPackages © 2026

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