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

ActiveLibrary[Templating &amp; Views](/categories/templating)

tenolo/twig-extensions
======================

basic twig extensions.

1.1.0(6y ago)11111MITPHPPHP ~5.6|~7.0

Since Mar 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/tenolo/twig-extensions)[ Packagist](https://packagist.org/packages/tenolo/twig-extensions)[ Docs](https://tenolo.de)[ RSS](/packages/tenolo-twig-extensions/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (8)Used By (1)

[![tenolo](https://camo.githubusercontent.com/9f4aa7f77c4f4ca27e81b67e9eb1a599adfe5c988675d78e43c66f41dd47ef12/68747470733a2f2f636f6e74656e742e74656e6f6c6f2e636f6d2f74656e6f6c6f2e706e67)](https://tenolo.de)

[![PHP Version](https://camo.githubusercontent.com/08388e066519487f3616b7f9c58c1037515309ce883fa2108b1114ab8adf2573/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f74656e6f6c6f2f747769672d657874656e73696f6e732e737667)](https://packagist.org/packages/tenolo/twig-extensions)[![Latest Stable Version](https://camo.githubusercontent.com/1951f6cb79421dfe080bc7615f5d7a08fe7aeb5b33446b32115aa1fbdd6434a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74656e6f6c6f2f747769672d657874656e73696f6e732e7376673f6c6162656c3d737461626c65)](https://packagist.org/packages/tenolo/twig-extensions)[![Latest Unstable Version](https://camo.githubusercontent.com/75422586f24b645394594004b3fa0933d84ebc435c7870945758d5f4802176a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f74656e6f6c6f2f747769672d657874656e73696f6e732e7376673f6c6162656c3d756e737461626c65)](https://packagist.org/packages/tenolo/twig-extensions)[![Total Downloads](https://camo.githubusercontent.com/f263bfe14224fb25d85540b3dfac226ddfaf4862e0699fc335e433121cd56d3a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74656e6f6c6f2f747769672d657874656e73696f6e732e737667)](https://packagist.org/packages/tenolo/twig-extensions)[![Total Downloads](https://camo.githubusercontent.com/f388a9ea8891d8cd94e6ce682f36f407d0b140d28cf18d4bb211d94c82ee5dfa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f74656e6f6c6f2f747769672d657874656e73696f6e732e737667)](https://packagist.org/packages/tenolo/twig-extensions)[![License](https://camo.githubusercontent.com/87f49f415661b5fe211fe392d50292900c394264bdd0dc6b93eb7bbf3c16ae3e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f74656e6f6c6f2f747769672d657874656e73696f6e732e737667)](https://packagist.org/packages/tenolo/twig-extensions)

Twig Extensions
===============

[](#twig-extensions)

A collection of simple twig extensions..

Install instructions
--------------------

[](#install-instructions)

First you need to add `tenolo/twig-extensions` to `composer.json`:

Let Composer do it for you.

```
$ composer require tenolo/twig-extensions
```

or do it manually

```
{
   "require": {
        "tenolo/twig-extensions": "~1.0"
    }
}
```

Please note that `dev-master` latest development version. Of course you can also use an explicit version number, e.g., `1.0.*`.

Usage
-----

[](#usage)

...

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~177 days

Total

7

Last Release

2538d ago

Major Versions

0.3.1 → 1.0.02017-09-08

PHP version history (2 changes)0.1.0PHP &gt;=5.6

0.2.0PHP ~5.6|~7.0

### Community

Maintainers

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

---

Top Contributors

[![nicklog](https://avatars.githubusercontent.com/u/462920?v=4)](https://github.com/nicklog "nicklog (12 commits)")

---

Tags

twigextensionsextensionbasetenolo

### Embed Badge

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

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

###  Alternatives

[symfony/ux-twig-component

Twig components for Symfony

22017.2M313](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1636.5M115](/packages/symfony-ux-live-component)[tales-from-a-dev/twig-tailwind-extra

A Twig extension for Tailwind

36982.8k12](/packages/tales-from-a-dev-twig-tailwind-extra)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

1682.8k1](/packages/symfony-ux-toolkit)[umanit/twig-image-extension

An extension to facilitate the integration of responsive images' markup in Twig templates.

1043.8k](/packages/umanit-twig-image-extension)[mati365/ckeditor5-symfony

CKEditor 5 integration for Symfony

261.9k](/packages/mati365-ckeditor5-symfony)

PHPackages © 2026

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