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(6y ago)05PHP

Since Jun 21Pushed 6y agoCompare

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

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 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

2202d 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

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M418](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M571](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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