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

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top