Skip to content

Module that shows every executed query and the execution time.

License

Notifications You must be signed in to change notification settings

CodyAsThePirate/QueryAnalyzer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QueryAnalyzer

Module that shows every executed query and the execution time.

##Setup

  • Add "weteef/queryanalyzer": "1.*" to the require section of your composer.json

  • Attach Profiler to your DB-Adapter. $serviceManager->get('Zend\Db\Adapter\Adapter')->setProfiler(new \QueryAnalyzer\Db\Adapter\Profiler\QueryAnalyzerProfiler());

  • If your DB Adapater does not have the name Zend\Db\Adapter\Adapter you need to create an alias in the config:

'aliases' => array(
    'Zend\Db\Adapter\Adapter' => 'your-db-adapter-name',
)

After these steps the analyzer should appear on the bottom right corner of your browser window.

About

Module that shows every executed query and the execution time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%