vipkwd / tracy-gitversion-panel
Tracy DebugBar panel displaying current project git branch.
2.2
2023-05-11 19:02 UTC
Requires
- php: >=7.0
- tracy/tracy: ~2.2
This package is auto-updated.
Last update: 2025-02-26 06:16:36 UTC
README
Panel for Tracy debug panel. Shows current branch and current revision hash to be able identify your deployed version on sight.
Installing
Install library via composer:
composer require vipkwd/tracy-gitversion-panel
Registerring...
In older versions of Nette (< 2.2)
nette:
debugger:
bar:
- Vipkwd\Tracy\GitVersionPanel
In newer versions of Nette (>= 2.2)
tracy:
bar:
- Vipkwd\Tracy\GitVersionPanel
In pure Tracy
use Vipkwd\Tracy\GitVersionPanel;
Tracy\Debugger::getBar()->addPanel(new GitVersionPanel());