PHPackages                             macfja/tracy-doctrine-sql - 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. macfja/tracy-doctrine-sql

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

macfja/tracy-doctrine-sql
=========================

A Tracy panel for Doctrine SQL queries

218.7k↓50%13HTML

Since Feb 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/MacFJA/tracy-doctrine-sql)[ Packagist](https://packagist.org/packages/macfja/tracy-doctrine-sql)[ RSS](/packages/macfja-tracy-doctrine-sql/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (3)

DoctrineSql Panel for Tracy
===========================

[](#doctrinesql-panel-for-tracy)

Add Sql requests made by Doctrine in the **Tracy** debugger bar.

[![](docs/bar.png)](docs/bar.png)

[![](docs/panel.png)](docs/panel.png)

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

[](#installation)

### Composer

[](#composer)

```
composer require macfja/tracy-doctrine-sql

```

Usage
-----

[](#usage)

Somewhere, when your application start and you initialize Doctrine

```
use MacFJA\Tracy\DoctrineSql;
use Doctrine\ORM\EntityManager;

// ...

$entityManager = EntityManager::create($conn, $config);
DoctrineSql::init($entityManager);
```

### Multiple Manager support

[](#multiple-manager-support)

```
use MacFJA\Tracy\DoctrineSql;
use Doctrine\ORM\EntityManager;

// ...

$blogManager = EntityManager::create($conn1, $config2);
$configManager = EntityManager::create($conn2, $config2);
DoctrineSql::init($blogManager, 'Blog');
DoctrineSql::init($configManager, 'Config');
```

Similar projects
----------------

[](#similar-projects)

- [recca0120/Laravel-Tracy](https://github.com/recca0120/Laravel-Tracy) (Laravel specific - Eloquant)
- [nextras/tracy-query-panel](https://github.com/nextras/tracy-query-panel) (Nette specific - DibiConnection, Nette\\Database)
- [Mikulas/nette-panel-queries](https://github.com/Mikulas/nette-panel-queries) (Nette specific - ElasticSearch, Neo4j)
- [Zemistr/notorm-tracy-panel](https://github.com/Zemistr/notorm-tracy-panel) (NotORM)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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/e35bfbefc89c6998a77e2bf9ef3da42d80513b57cb9ae209b6c39b92a96097b3?d=identicon)[MacFJA](/maintainers/MacFJA)

---

Top Contributors

[![MacFJA](https://avatars.githubusercontent.com/u/1475671?v=4)](https://github.com/MacFJA "MacFJA (4 commits)")[![davidkastanek](https://avatars.githubusercontent.com/u/4254731?v=4)](https://github.com/davidkastanek "davidkastanek (2 commits)")

### Embed Badge

![Health badge](/badges/macfja-tracy-doctrine-sql/health.svg)

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

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k28](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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