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 2mo 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

[htmlburger/carbon-fields

WordPress developer-friendly custom fields for post types, taxonomy terms, users, comments, widgets, options and more.

1.5k665.2k57](/packages/htmlburger-carbon-fields)[tightenco/tlint

Tighten linter for Laravel conventions

5271.2M34](/packages/tightenco-tlint)[dflydev/placeholder-resolver

Given a data source representing key =&gt; value pairs, resolve placeholders like ${foo.bar} to the value associated with the 'foo.bar' key in the data source.

14414.6M3](/packages/dflydev-placeholder-resolver)[pear/pear

This is the definitive source of PEAR's core files.

1161.7M20](/packages/pear-pear)[pragmarx/ia-collection

Laravel Illuminate Agnostic Collection

473.4M2](/packages/pragmarx-ia-collection)[binarycabin/laravel-uuid

A wrapper for webpatser/laravel-uuid with additional integration

86589.4k](/packages/binarycabin-laravel-uuid)

PHPackages © 2026

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