PHPackages                             row-bloom/twig-interpolator - 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. row-bloom/twig-interpolator

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

row-bloom/twig-interpolator
===========================

row-bloom Twig interpolator driver

v0.2.0(2y ago)031MITPHP

Since Oct 26Pushed 2y agoCompare

[ Source](https://github.com/row-bloom/twig-interpolator)[ Packagist](https://packagist.org/packages/row-bloom/twig-interpolator)[ Docs](https://github.com/row-bloom/)[ RSS](/packages/row-bloom-twig-interpolator/feed)WikiDiscussions main Synced 1mo ago

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

Row bloom
=========

[](#row-bloom)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f82777b8f22795c9c8d2bdcec33b64b9d92fb50e7d7866bbea61ca9daa153eec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f772d626c6f6f6d2f747769672d696e746572706f6c61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/row-bloom/twig-interpolator)[![Pest action](https://camo.githubusercontent.com/312706d51727b54528f9ca53b426cfeec72dc8147f58ad6406ca5f286c43c74a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726f772d626c6f6f6d2f726f772d626c6f6f6d2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/row-bloom/row-bloom/actions?query=workflow%3Arun-tests+branch%3Amain)[![Pint action](https://camo.githubusercontent.com/10703f2f82b618432d0081c07fc9394555a1f03cdaa5c03a09d3d4ba4886c7e4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726f772d626c6f6f6d2f726f772d626c6f6f6d2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/row-bloom/row-bloom/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/66054cf3270df1ad9dffbece4a350b600912811aa7285325b130845ebb3f1e83/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f772d626c6f6f6d2f747769672d696e746572706f6c61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/row-bloom/twig-interpolator)

Important

This is a sub-split, for development, pull requests and issues, visit:

Installation
------------

[](#installation)

```
composer require row-bloom/twig-interpolator
```

```
use RowBloom\RowBloom\Support;
use RowBloom\TwigInterpolator\TwigInterpolator;

app()->get(Support::class);
    ->registerInterpolatorDriver(TwigInterpolator::NAME, TwigInterpolator::class)
```

Requires:

- PHP &gt;= 8.1

Usage
-----

[](#usage)

```
use RowBloom\TwigInterpolator\TwigInterpolator;
use RowBloom\RowBloom\Renderers\HtmlRenderer;
use RowBloom\RowBloom\RowBloom;

app()->get(RowBloom::class)
    ->addTable([
        ['title' => 'Title1', 'body' => 'body1'],
        ['title' => 'Title2', 'body' => 'body2'],
    ])
    ->setInterpolator(TwigInterpolator::NAME)
    ->setTemplate('
        {{ title }}
        Bold text
        {{ body }}
    ')
    ->setRenderer(HtmlRenderer::class)
    ->save(__DIR__.'/foo.pdf');
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

Every ~66 days

Total

2

Last Release

860d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e024d85d6159f76c1b1bc9c0608bdd2afab8b0724d0b9bb9ae45bf2a837d343f?d=identicon)[medilies](/maintainers/medilies)

---

Top Contributors

[![medilies](https://avatars.githubusercontent.com/u/35309918?v=4)](https://github.com/medilies "medilies (2 commits)")

---

Tags

htmltemplatingtwightmltemplating

### Embed Badge

![Health badge](/badges/row-bloom-twig-interpolator/health.svg)

```
[![Health](https://phpackages.com/badges/row-bloom-twig-interpolator/health.svg)](https://phpackages.com/packages/row-bloom-twig-interpolator)
```

###  Alternatives

[timber/timber

Create WordPress themes with beautiful OOP code and the Twig Template Engine

5.7k3.4M110](/packages/timber-timber)[twig/string-extra

A Twig extension for Symfony String

21946.0M132](/packages/twig-string-extra)[twig/markdown-extra

A Twig extension for Markdown

12114.3M83](/packages/twig-markdown-extra)[laminas/laminas-view

Fast and type safe HTML templating library with a flexible plugin system supporting multistep template composition

7526.3M229](/packages/laminas-laminas-view)[twig/html-extra

A Twig extension for HTML

777.6M41](/packages/twig-html-extra)[jasny/twig-extensions

A set of useful Twig filters

10710.2M8](/packages/jasny-twig-extensions)

PHPackages © 2026

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