idmarinas/tracy-twig-bar

A Tracy panel for Twig Template Engine

Maintainers

👁 IDMarinas

Package info

github.com/idmarinas/tracy-twig-bar

pkg:composer/idmarinas/tracy-twig-bar

Fund package maintenance!

Liberapay

Statistics

Installs: 16 549

Dependents: 2

Suggesters: 0

Stars: 4

Open Issues: 0

0.4.0 2025-08-04 14:36 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause 4fbfa3b08bc7fc8876162a836ea3d161b6e0334c

  • IDMarinas <35842929+idmarinas.woop@users.noreply.github.com>

twigpanelbardebuggertracy

This package is auto-updated.

Last update: 2026-06-04 16:27:02 UTC


README

IDMarinas Twig Tracy Bar

👁 GitHub release
👁 GitHub Release Date

Add Twig template info in the Tracy debugger bar.


👁 Test Suite
👁 Quality Gate Status
👁 Coverage
👁 Technical Debt


👁 Github commits (since latest release)
👁 GitHub commit activity
👁 GitHub last commit

Code analysis

👁 Reliability Rating
👁 Bugs
👁 Security Rating
👁 Vulnerabilities
👁 Maintainability Rating
👁 Code Smells
👁 Duplicated Lines (%)

🖖 Support

🩵 If you like this project, give it a 🌟 and share it with your friends!

👁 PayPal.Me - The safer, easier way to pay online!
👁 Liberapay - Donate
👁 GitHub Sponsor


👁 Image

👁 Image

Installation

Composer

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

Usage

Somewhere, when your application starts and you initialize Twig engine

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

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

/**
 * Optional Twig Extension.
 *
 * Can use `dump`, `dumpe` and `bdump` functions of Tracy
 */
$env->addExtension(new TracyExtension()); //-- Optional

TwigBar::init($profile);

🖱️ Tech used in code

👁 GitHub code size in bytes
👁 PHP

🛠️ Tools used to create this project

👁 Dependabot
👁 GitHub Actions
👁 Docker
👁 Composer

💬 Social

👁 X
👁 Discord