PHPackages                             evolic/twig-riot - 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. evolic/twig-riot

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

evolic/twig-riot
================

POC implementation of Rendering Riot.js tags in Twig

v0.6(5y ago)05PHP

Since Jun 21Pushed 5y agoCompare

[ Source](https://github.com/evolic/twigriot)[ Packagist](https://packagist.org/packages/evolic/twig-riot)[ RSS](/packages/evolic-twig-riot/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (5)Used By (0)

twigriot
========

[](#twigriot)

POC implementation of Rendering Riot.js tags in Twig.

Twig is everywhere. eZ Platform, Bolt, Drupal 8 and other popular projects have adopted it. At the same time Node.js and Web Components have risen to popularity. This repo demonstrates merging the popular PHP templating library Twig to Riot js, a lightweight React-like library with Node.js.

This Proof of Concept (POC) implementation of a twig function to render Riot.js () components on the server side using an example Yandex Maps component ().

Read the article describing the internals:

Install
-------

[](#install)

The application is a pretty standard bare bones PHP application. You'll need node and npm installed for rendering as well. Once you've checked out the code, run composer and NPM installs.

```
curl -s http://getcomposer.org/installer | php
php composer.phar install
npm i
```

This is by no means an optimal setup nor will I take any responsibility for running this in production.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~0 days

Total

4

Last Release

2150d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/17f02484ca4bdd20d74bfd0e275e3988f4a282025bfdae1e4bf0a712661a70a4?d=identicon)[evolic](/maintainers/evolic)

---

Top Contributors

[![janit](https://avatars.githubusercontent.com/u/198965?v=4)](https://github.com/janit "janit (12 commits)")[![evolic](https://avatars.githubusercontent.com/u/3501450?v=4)](https://github.com/evolic "evolic (4 commits)")

### Embed Badge

![Health badge](/badges/evolic-twig-riot/health.svg)

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

###  Alternatives

[symfony/twig-bridge

Provides integration for Twig with various Symfony components

2.5k215.5M600](/packages/symfony-twig-bridge)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[twig/intl-extra

A Twig extension for Intl

36663.2M221](/packages/twig-intl-extra)[twig/string-extra

A Twig extension for Symfony String

21946.0M133](/packages/twig-string-extra)[symfony/ux-twig-component

Twig components for Symfony

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

Live components for Symfony

1635.6M72](/packages/symfony-ux-live-component)

PHPackages © 2026

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