Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Latest commit

 

History

History
56 lines (36 loc) · 1.69 KB

readme.md

File metadata and controls

56 lines (36 loc) · 1.69 KB

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.