jandrabek / tracy-gitversion-panel
Tracy DebugBar panel displaying current project git branch.
Installs: 372 494
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 2
Open Issues: 0
Language:HTML
Requires
- php: >= 5.3.2
- tracy/tracy: ~2.2
This package is not auto-updated.
Last update: 2024-12-21 18:14:26 UTC
README
Panel for Tracy debug panel. Shows current branch and current revision hash to be able identify your deployed version on sight.
Inspired by https://gist.github.com/vvondra/3645108.
Installing
Install library via composer:
composer require jandrabek/tracy-gitversion-panel
Registerring...
In older versions of Nette (< 2.2)
nette:
debugger:
bar:
- JanDrabek\Tracy\GitVersionPanel
In newer versions of Nette (>= 2.2)
tracy:
bar:
- JanDrabek\Tracy\GitVersionPanel
In pure Tracy
Tracy\Debugger::getBar()->addPanel(new JanDrabek\Tracy\GitVersionPanel());