Componette

Componette

nextras

nextras / tracy-query-panel

Query panel for Tracy php debugger

download-cloud-line composer require nextras/tracy-query-panel

Nextras\TracyQueryPanel

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.

No release at this moment. Try to create first one.

price-tag-2-line

Badges

guide-fill

Dependencies

php (>=5.4)
latte/latte (~2.2.0 || ~2.3.0-beta)
nette/di (~2.3.0-beta)
tracy/tracy (~2.3.0-RC)
Componette Componette felix@nette.org