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 2d 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 41% 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

3256d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11740475?v=4)[Peter ](/maintainers/rauwebieten)[@rauwebieten](https://github.com/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

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[symfony/ux-twig-component

Twig components for Symfony

22018.6M322](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1647.0M117](/packages/symfony-ux-live-component)

PHPackages © 2026

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