PHPackages                             squirreldev/twig-matrix-match - 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. squirreldev/twig-matrix-match

ActiveCraft-plugin[Templating &amp; Views](/categories/templating)

squirreldev/twig-matrix-match
=============================

Adds a Twig filter to match matrix fields handles with templates names

1.1.0(4y ago)011MITPHP

Since Aug 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/tilingue/craft-twig-matrix-match)[ Packagist](https://packagist.org/packages/squirreldev/twig-matrix-match)[ RSS](/packages/squirreldev-twig-matrix-match/feed)WikiDiscussions main Synced today

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

Twig Matrix Match plugin for Craft CMS 3.x
==========================================

[](#twig-matrix-match-plugin-for-craft-cms-3x)

A very simple plugin to match the matrix fields handles (camel case) with your templates (hypen format).

This plugin will be useful for you to perform a Layout-Builder system using matrix.

---

After installing this you will be able to do something like this in your entry template to theme up your matrix components:

```
{% set matrixBlocks = entry.yourMatrix.all() %}
{% for block in matrixBlocks %}
  {% set blockType = block.getType().handle %}
  {% include '_components/' ~ blockType | camelToHypens ~ '.html' %}
{% endfor %}

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Every ~0 days

Total

2

Last Release

1740d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/05f7636f97d2f022e3f27e3b42ebfddb795ff92eb2f234798614ba5940f98ac9?d=identicon)[tilingue](/maintainers/tilingue)

---

Top Contributors

[![bortegon](https://avatars.githubusercontent.com/u/80596613?v=4)](https://github.com/bortegon "bortegon (5 commits)")

---

Tags

cmstwig extensionsCraftcraftcmscraft-plugin

### Embed Badge

![Health badge](/badges/squirreldev-twig-matrix-match/health.svg)

```
[![Health](https://phpackages.com/badges/squirreldev-twig-matrix-match/health.svg)](https://phpackages.com/packages/squirreldev-twig-matrix-match)
```

###  Alternatives

[lewisjenkins/craft-dynamic-fields

Populate Craft fields with dynamic data using the power of Twig.

14667.0k](/packages/lewisjenkins-craft-dynamic-fields)[nystudio107/craft-minify

A simple plugin that allows you to minify blocks of HTML, CSS, and JS inline in Craft CMS templates.

37461.2k29](/packages/nystudio107-craft-minify)[jalendport/craft-preparse

A fieldtype that parses Twig when an element is saved and saves the result as plain text.

1086.4k](/packages/jalendport-craft-preparse)[craftpulse/craft-colour-swatches

Let clients choose from a predefined set of colours and utilise associated colour codes and class names in your templates.

3530.8k2](/packages/craftpulse-craft-colour-swatches)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.3k](/packages/verbb-footnotes)

PHPackages © 2026

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