nextras / tracy-query-panel
This package is abandoned and no longer maintained.
No replacement package was suggested.
Query panel for Tracy php debugger
dev-master / 1.0.x-dev
2015-02-23 14:15 UTC
Requires
- php: >=5.4
- latte/latte: ~2.2.0 || ~2.3.0-beta
- nette/di: ~2.3.0-beta
- tracy/tracy: ~2.3.0-RC
Requires (Dev)
- mockery/mockery: ~0.9
- nette/nette: ~2.3.0-beta
- nette/tester: ~1.3
- petrp/access: ~0.2.2
This package is auto-updated.
Last update: 2020-02-05 23:12:26 UTC
README
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
- Original forum thread: http://forum.nette.org/en/18901-tracy-universal-query-panel
License
MIT. See full license.