php-debugbar / twig-bridge
Twig bridge for PHP Debugbar
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/php-debugbar/twig-bridge
Requires
- php: ^8.1
- php-debugbar/php-debugbar: ^2.0
- twig/twig: ^3.22
Requires (Dev)
- dbrekelmans/bdi: ^1.4
- phpunit/phpunit: ^10
- symfony/browser-kit: ^6|^7
- symfony/dom-crawler: ^6|^7
- symfony/panther: ^1|^2.1
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.