php-debugbar/twig-bridge

Twig bridge for PHP Debugbar

Maintainers

👁 barryvdh

Package info

github.com/php-debugbar/twig-bridge

Homepage

pkg:composer/php-debugbar/twig-bridge

Statistics

Installs: 37 783

Dependents: 6

Suggesters: 2

Stars: 1

Open Issues: 0

v2.0.0 2026-01-09 15:32 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 78832baa1d8e6f8341576bb951e8a6db99d3f487

twigdebugbardev

This package is auto-updated.

Last update: 2026-06-12 14:52:52 UTC


README

Install

This requires https://github.com/php-debugbar/php-debugbar/ to be installed first.

composer require php-debugbar/twig-bridge

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 http://localhost:8000/demo/

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.