rauwebieten / twig-phpref
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rauwebieten/twig-phpref
Requires
- php: >=5.4.0
- digitalnature/php-ref: ^1.2
- twig/twig: ^1.0
This package is auto-updated.
Last update: 2025-09-15 22:27:30 UTC
README
A extension for the Twig template engine. Adds php-ref functions/filters to Twig.
A better alternative for the standard debug filter.
Usage
<h1>User debug:</h1> {{ user|r }}
see the examples folder for a full example.
See also
php-ref: https://github.com/digitalnature/php-ref
twig: https://github.com/twigphp/Twig