PHPackages                             cmyker/doctrine-sql-logger - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. cmyker/doctrine-sql-logger

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

cmyker/doctrine-sql-logger
==========================

Doctrine SQL query debugger with binded parameters

231.5k↓68.7%PHP

Since Jan 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/cmyker/doctrine-sql-logger)[ Packagist](https://packagist.org/packages/cmyker/doctrine-sql-logger)[ RSS](/packages/cmyker-doctrine-sql-logger/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

doctrine-sql-logger
===================

[](#doctrine-sql-logger)

Debug Doctrine 2 real SQL queries with parameters

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

[](#installation)

composer require cmyker/doctrine-sql-logger:dev-master

Usage example
-------------

[](#usage-example)

```
$connection = $this->getEntityManager()->getConnection();
$logger = new \Cmyker\DoctrineSqlLogger\Logger($connection);
$connection->getConfiguration()->setSQLLogger($logger);
//some query here
$monologLogger->debug($logger->lastQuery); //or see the output
```

TODO more details

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/689f13455b85da539d2dd364f60fd50dc93576182f65e5c3f3dbeed3588c9147?d=identicon)[cmyker](/maintainers/cmyker)

---

Top Contributors

[![cmyker](https://avatars.githubusercontent.com/u/1872718?v=4)](https://github.com/cmyker "cmyker (9 commits)")

### Embed Badge

![Health badge](/badges/cmyker-doctrine-sql-logger/health.svg)

```
[![Health](https://phpackages.com/badges/cmyker-doctrine-sql-logger/health.svg)](https://phpackages.com/packages/cmyker-doctrine-sql-logger)
```

###  Alternatives

[symfony/error-handler

Provides tools to manage errors and ease debugging PHP code

2.7k714.7M954](/packages/symfony-error-handler)[proget-hq/phpstan-yii2

Yii2 extension for PHPStan

52614.0k7](/packages/proget-hq-phpstan-yii2)[upscale/swoole-blackfire

Blackfire profiler integration for Swoole web-server

22126.6k13](/packages/upscale-swoole-blackfire)[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)

PHPackages © 2026

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