rauwebieten/twig-phpref

There is no license information available for the latest version (1.0.0) of this package.

Installs: 29

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/rauwebieten/twig-phpref

1.0.0 2017-08-01 13:51 UTC

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