sensiolabs / doctrine-query-statistics-bundle
Adds a Profiler tab to gather statistics about Doctrine queries made during a request
Installs: 41 115
Dependents: 0
Suggesters: 0
Security: 0
Stars: 59
Watchers: 12
Forks: 9
Open Issues: 3
Type:symfony-bundle
Requires
- php: >=5.3.3
- doctrine/doctrine-bundle: >=1.0.0,<1.3-dev
- symfony/symfony: ~2.1
This package is not auto-updated.
Last update: 2020-01-24 14:52:09 UTC
README
About
This bundle adds a tab to your Profiler which gathers statistical information about the Doctrine queries that have been executed during a request.
Right now the bundle generates statistical information about:
- Duplicate queries
- Similar queries (same queries with different parameters)
Installation
Add a requirement in your composer.json for the sensiolabs/doctrine-query-statistics-bundle
package:
"sensiolabs/doctrine-query-statistics-bundle": "*"
Add the SensioLabsDoctrineQueryStatisticsBundle to your application's kernel:
public function registerBundles()
{
$bundles = array(
...
new SensioLabs\DoctrineQueryStatisticsBundle\SensioLabsDoctrineQueryStatisticsBundle(),
...
);
...
}
License
Released under the MIT License, see LICENSE.