Download the PHP package squirreldev/twig-matrix-match without Composer
On this page you can find all versions of the php package squirreldev/twig-matrix-match. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download squirreldev/twig-matrix-match
More information about squirreldev/twig-matrix-match
Files in squirreldev/twig-matrix-match
Download squirreldev/twig-matrix-match
More information about squirreldev/twig-matrix-match
Files in squirreldev/twig-matrix-match
Vendor squirreldev
Package twig-matrix-match
Short Description Adds a Twig filter to match matrix fields handles with templates names
License MIT
Package twig-matrix-match
Short Description Adds a Twig filter to match matrix fields handles with templates names
License MIT
Please rate this library. Is it a good library?
Informations about the package twig-matrix-match
Twig Matrix Match plugin for Craft CMS 3.x
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 %}
All versions of twig-matrix-match with dependencies
PHP Build Version
Package Version
The package squirreldev/twig-matrix-match contains the following files
Loading the files please wait ....