PHPackages                             php-debugbar/twig-bridge - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. php-debugbar/twig-bridge

ActiveLibrary[Templating &amp; Views](/categories/templating)

php-debugbar/twig-bridge
========================

Twig bridge for PHP Debugbar

v2.0.0(4mo ago)116.4k↑11.6%4MITPHPPHP ^8.2CI passing

Since Dec 22Pushed 4mo agoCompare

[ Source](https://github.com/php-debugbar/twig-bridge)[ Packagist](https://packagist.org/packages/php-debugbar/twig-bridge)[ Docs](https://github.com/php-debugbar/php-debugbar)[ RSS](/packages/php-debugbar-twig-bridge/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (7)Versions (6)Used By (4)

Twig Bridge for PHP Debug Bar
=============================

[](#twig-bridge-for-php-debug-bar)

Install
-------

[](#install)

This requires  to be installed first.

```
composer require php-debugbar/twig-bridge

```

Demo
----

[](#demo)

To run the demo, clone this repository and install the dependencies.

```
composer install

```

Then start the Built-In PHP webserver from the root:

```
composer run demo

```

Then visit

Testing
-------

[](#testing)

To test, run `php vendor/bin/phpunit`. To debug Browser tests, you can run `PANTHER_NO_HEADLESS=1 vendor/bin/phpunit --debug`. Run `vendor/bin/bdi detect drivers` to download the latest drivers.

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance76

Regular maintenance activity

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Total

4

Last Release

129d ago

Major Versions

v1.1.0 → v2.0.02026-01-09

PHP version history (2 changes)v1.0.0PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/dad47b02be23edb7094a151b4b1ce7e9cb56b75cd87cd3341d140e1e1e9cd0e4?d=identicon)[barryvdh](/maintainers/barryvdh)

---

Top Contributors

[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (12 commits)")

---

Tags

devtwigdebugbar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-debugbar-twig-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/php-debugbar-twig-bridge/health.svg)](https://phpackages.com/packages/php-debugbar-twig-bridge)
```

###  Alternatives

[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.2k124.3M624](/packages/barryvdh-laravel-debugbar)[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91492.0M315](/packages/twig-extra-bundle)[twig/intl-extra

A Twig extension for Intl

36763.2M221](/packages/twig-intl-extra)[rcrowe/twigbridge

Adds the power of Twig to Laravel

9105.9M50](/packages/rcrowe-twigbridge)[twig/string-extra

A Twig extension for Symfony String

22046.0M133](/packages/twig-string-extra)[twig/cssinliner-extra

A Twig extension to allow inlining CSS

22918.5M55](/packages/twig-cssinliner-extra)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
