PHPackages                             rauwebieten/twig-phpref - 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. rauwebieten/twig-phpref

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

rauwebieten/twig-phpref
=======================

1.0.0(8y ago)129PHPPHP &gt;=5.4.0

Since Aug 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/rauwebieten/twig-phpref)[ Packagist](https://packagist.org/packages/rauwebieten/twig-phpref)[ RSS](/packages/rauwebieten-twig-phpref/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Twig PHP-ref extension
======================

[](#twig-php-ref-extension)

A extension for the Twig template engine. Adds php-ref functions/filters to Twig.
A better alternative for the standard debug filter.

Usage
-----

[](#usage)

```
User debug:
{{ user|r }}
```

see the examples folder for a full example.

See also
--------

[](#see-also)

php-ref:
twig:

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3205d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/59acbf4a62b72eba36a902011e336653854d735158432c0c3b382d95b4236589?d=identicon)[rauwebieten](/maintainers/rauwebieten)

---

Top Contributors

[![peter-kinamo](https://avatars.githubusercontent.com/u/20679429?v=4)](https://github.com/peter-kinamo "peter-kinamo (2 commits)")

---

Tags

phpphp-reftwigtwig-extension

### Embed Badge

![Health badge](/badges/rauwebieten-twig-phpref/health.svg)

```
[![Health](https://phpackages.com/badges/rauwebieten-twig-phpref/health.svg)](https://phpackages.com/packages/rauwebieten-twig-phpref)
```

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

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

A Twig extension for Intl

36663.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

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

A Twig extension to allow inlining CSS

23018.5M55](/packages/twig-cssinliner-extra)[symfony/ux-twig-component

Twig components for Symfony

21814.8M162](/packages/symfony-ux-twig-component)

PHPackages © 2026

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