PHPackages                             rjantoine/twig-extensions - 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. rjantoine/twig-extensions

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

rjantoine/twig-extensions
=========================

Adds the extra filters and functions from Twig Extensions (http://twig-extensions.readthedocs.io/en/latest/)

33.1k[1 issues](https://github.com/rjantoine/twig-extensions/issues)PHPCI failing

Since Feb 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/rjantoine/twig-extensions)[ Packagist](https://packagist.org/packages/rjantoine/twig-extensions)[ RSS](/packages/rjantoine-twig-extensions/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Twig Extensions plugin for Craft CMS 3.x
========================================

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

Adds the extra filters and functions from [Twig Extensions](http://twig-extensions.readthedocs.io/en/latest/)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require rjantoine/twig-extensions

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Twig Extensions.

Using Twig Extensions
---------------------

[](#using-twig-extensions)

Read the [documentation](http://twig-extensions.readthedocs.io/) for more information.

Twig Extensions Roadmap
-----------------------

[](#twig-extensions-roadmap)

Some things to do, and ideas for potential features:

- Release it

Brought to you by [Robert Antoine](musingmonkeys.com)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f645c2c3a08139dc44dd85adde8be2f78dfe991fa7b853797abdfd0cb39c7992?d=identicon)[rjantoine](/maintainers/rjantoine)

---

Top Contributors

[![rjantoine](https://avatars.githubusercontent.com/u/1753602?v=4)](https://github.com/rjantoine "rjantoine (3 commits)")

### Embed Badge

![Health badge](/badges/rjantoine-twig-extensions/health.svg)

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

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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