Adds a Profiler tab to gather statistics about Doctrine queries made during a request
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Analyzer
DataCollector
DependencyInjection
Resources
LICENSE
README.md
SensioLabsDoctrineQueryStatisticsBundle.php
composer.json

README.md

SensioLabsDoctrineQueryStatisticsBundle

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.