Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/repli2dev/tracy-gitversion-panel

Debugger panel for Tracy
https://github.com/repli2dev/tracy-gitversion-panel

nette php tracy

Last synced: 23 days ago
JSON representation

Debugger panel for Tracy

Awesome Lists containing this project

README

        

# 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.

![](http://oi59.tinypic.com/34oviv9.jpg)

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