vipkwd/tracy-gitversion-panel

Tracy DebugBar panel displaying current project git branch.

2.2 2023-05-11 19:02 UTC

This package is auto-updated.

Last update: 2024-04-11 21:52:57 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());