co-stack/dbal-profiler

doctrine/dbal connection decorator for profiling queries

2.3.0 2025-07-04 00:33 UTC

This package is auto-updated.

Last update: 2025-07-03 22:34:03 UTC


README

Branch main pipeline status coverage report

This package aims to provide a light and framework-agnostic way to profile DBAL queries.

Installation

composer req co-stack/dbal-profiler

Usage

Have a look at the MainUseCaseTest.php, it will tell you everything you need to know.

Credits

This package is heavily inspired by the symfony doctrine bridge: https://github.com/symfony/symfony/tree/7.4/src/Symfony/Bridge/Doctrine/Middleware/Debug

Since it does not quite follow my ideal of OOP/DDD, and it was not usable in the projects I am currently working on, I felt the needed to rewrite it, following my own requirements and vibe (no, not AI vibe, this is 100% handcrafted).