Add Sql requests made by Doctrine in the Tracy debugger bar.
composer require macfja/tracy-doctrine-sql
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);
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');
- recca0120/Laravel-Tracy (Laravel specific - Eloquant)
- nextras/tracy-query-panel (Nette specific - DibiConnection, Nette\Database)
- Mikulas/nette-panel-queries (Nette specific - ElasticSearch, Neo4j)
- Zemistr/notorm-tracy-panel (NotORM)