The easiest way is to use a service provider that already does that, like https://github.com/saxulum/saxulum-webprofiler-provider
How do I show Doctrine 2 queries in the Silex debug toolbar?
-
07-10-2022 - |
Question
When using Silex, how can I get Doctrine queries to show up in the web toolbar?
I'm using Silex\Provider\DoctrineServiceProvider
and Dflydev\Silex\Provider\DoctrineOrm\DoctrineOrmServiceProvider
.
I also have "symfony/doctrine-bridge": "v2.4.1" enabled in composer.json
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow