Debugger panel for Tracy
Find a file
2017-04-21 14:56:24 +02:00
src Changed indent from spaces to tabs 2017-04-21 14:56:24 +02:00
composer.json Extracted panel and tab templates out of Class file 2017-04-20 14:21:15 +02:00
LICENSE Initial commit 2014-09-02 14:04:24 +02:00
README.md Fix README to correspond with current state 2016-03-02 16:45:43 +01:00

Git Version Panel

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());