PHPackages                             ricovandevin/patternlab-twig-extensions-plugin - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ricovandevin/patternlab-twig-extensions-plugin

ActivePatternlab-plugin[Utility &amp; Helpers](/categories/utility)

ricovandevin/patternlab-twig-extensions-plugin
==============================================

Adds the ability to load custom Twig extensions into PatternLab.

07[1 issues](https://github.com/ricovandevin/patternlab-twig-extensions-plugin/issues)PHP

Since Jan 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ricovandevin/patternlab-twig-extensions-plugin)[ Packagist](https://packagist.org/packages/ricovandevin/patternlab-twig-extensions-plugin)[ RSS](/packages/ricovandevin-patternlab-twig-extensions-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PatternLab Twig Extension Plugin
================================

[](#patternlab-twig-extension-plugin)

Adds the ability to load custom Twig extensions into PatternLab.

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

[](#installation)

Add the plugin as a dependency using Composer.

`composer require ricovandevin/patternlab-twig-extensions-plugin`

Create a folder 'extensions' inside the '\_twig-components' folder of your PatternLab source folder, e.g.

`mkdir src/_twig-components/extensions`

You can now place the source code of the Twig extensions you want to include in this folder. To manage them with Composer and automatically place them in the right location use the composer/installers package

`composer require composer/installers`

and add this inside your composer.json

```
    "extra": {
        "installer-paths": {
            "src/_twig-components/extensions": [
                "VENDOR/PROJECT"
            ]
        }
    }

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5457818?v=4)[Rico Van de Vin](/maintainers/ricovandevin)[@ricovandevin](https://github.com/ricovandevin)

### Embed Badge

![Health badge](/badges/ricovandevin-patternlab-twig-extensions-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/ricovandevin-patternlab-twig-extensions-plugin/health.svg)](https://phpackages.com/packages/ricovandevin-patternlab-twig-extensions-plugin)
```

###  Alternatives

[t3docs/examples

This extension packages a number of code examples from the Core Documentation.

3120.2k](/packages/t3docs-examples)

PHPackages © 2026

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