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

Was it helpful?

Solution

The easiest way is to use a service provider that already does that, like https://github.com/saxulum/saxulum-webprofiler-provider

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top