Statistics
8
0
0
68d
Badges
Tags
tracy
Dependencies

GitHub release GitHub Release Date GitHub code size in bytes Build in PHP

GitHub issues GitHub pull requests Github commits (since latest release) GitHub commit activity GitHub last commit

GitHub top language GitHub language count

Maintainability Code Climate technical debt

PayPal.Me - The safer, easier way to pay online! Liberapay - Donate Twitter

Twig Panel for Tracy

Add Twig template info in the Tracy debugger bar.

Installation

Composer

composer require --dev idmarinas/tracy-twig-bar

Usage

Somewhere, when your application start and you initialize Twig engine

use Idmarinas\TracyPanel\TwigBar;
use Twig\Environment;
use Twig\Extension\ProfilerExtension;
use Twig\Profiler\Profile;

// ...
$profile = new Profile();
$env = new Environment($loader, $options);
$env->addExtension(new ProfilerExtension($profile));

TwigBar::init($profile);
  • 0.1.0 0.1.0

    First release

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com