nextras/tracy-query-panel

dev-master / 1.0.x-dev 2015-02-23 14:15 UTC

README

Build Status Downloads this Month Stable version HHVM Status

Installation

Add to your composer.json:

$ composer require nextras/tracy-query-panel

Register Nette DI extension:

extensions:
    queryPanel: Nextras\TracyQueryPanel\DI\QueryPanelExtension

queryPanel:
    - Nextras\TracyQueryPanel\Handlers\DibiHandler

Possibly create implementations of IVoidQueries based on your service hooks and pass them to QueryPanel::addQuery().

Currently implemented query handlers are:

  • DibiConnection
  • Nette\Database

However, it should be super straightforward to implement IQuery producer for any engine.

Example legacy implementations for:

  • Neo4j
  • Elasticsearch

can be found at https://github.com/Mikulas/nette-panel-queries/tree/master/queries. These implementations will not however work out of the box.

If you happen to create implementations for your engine, please consider sending a pull request into this repo.

Additional resources

License

MIT. See full license.