PHPackages                             pcate/twig-tools-pl - 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. pcate/twig-tools-pl

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

pcate/twig-tools-pl
===================

Equivalent functions and filters for Pattern Lab that are available with the Twig Tools Drupal module.

1.1.1(7y ago)18.0kGPL-2.0-or-laterPHPPHP ^5.6 || ^7.0

Since Mar 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/patrickcate/twig-tools-pl)[ Packagist](https://packagist.org/packages/pcate/twig-tools-pl)[ Docs](https://www.drupal.org/project/twig_tools)[ RSS](/packages/pcate-twig-tools-pl/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

Twig Tools Pattern Lab Edition
==============================

[](#twig-tools-pattern-lab-edition)

This is a Pattern Lab plugin that implements all of the existing filters added by the Drupal [Twig Tools](https://www.drupal.org/project/twig_tools) module.

**Note:** This plugin assumes you are using Pattern Lab inside a Drupal theme.

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

[](#installation)

1. Install and enable the Drupal [Twig Tools](https://www.drupal.org/project/twig_tools) module.
2. Inside of your Drupal theme Pattern Lab directory, locate Pattern Lab the `composer.json` file abd run the command in the same directory:

```
composer require pcate/twig-tools-pl
```

1. After the composer package has installed, a post-install script will prompt you to merge/replace the new filters in the `_twig-components` directory.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~3 days

Total

6

Last Release

2592d ago

PHP version history (2 changes)1.0.0PHP 5.6

1.0.3PHP ^5.6 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8297fb442256e0605c43e4ad519ce499732bb6b91ab793074049cbd7aa60737b?d=identicon)[pcate](/maintainers/pcate)

---

Top Contributors

[![patrickcate](https://avatars.githubusercontent.com/u/6277206?v=4)](https://github.com/patrickcate "patrickcate (7 commits)")

---

Tags

twigdrupalpattern labtwig tools

### Embed Badge

![Health badge](/badges/pcate-twig-tools-pl/health.svg)

```
[![Health](https://phpackages.com/badges/pcate-twig-tools-pl/health.svg)](https://phpackages.com/packages/pcate-twig-tools-pl)
```

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91292.0M313](/packages/twig-extra-bundle)[twig/intl-extra

A Twig extension for Intl

36663.2M218](/packages/twig-intl-extra)[twig/string-extra

A Twig extension for Symfony String

21946.0M132](/packages/twig-string-extra)[twig/cssinliner-extra

A Twig extension to allow inlining CSS

23018.5M53](/packages/twig-cssinliner-extra)[pattern-lab/drupal-twig-components

A collection of Twig components to be used with Drupal- and Twig-related StarterKits.

17849.9k2](/packages/pattern-lab-drupal-twig-components)[symfony/ux-twig-component

Twig components for Symfony

21814.8M160](/packages/symfony-ux-twig-component)

PHPackages © 2026

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