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

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

macwinnie/twig-extensions
=========================

Improving Twig by some filters, functions, etc.

1.1.2(1y ago)093CC-BY-SA-4.0PHPPHP &gt;= 8.2

Since Aug 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/macwinnie/twig-extension)[ Packagist](https://packagist.org/packages/macwinnie/twig-extensions)[ RSS](/packages/macwinnie-twig-extensions/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (6)Versions (133)Used By (0)

Twig Extension
==============

[](#twig-extension)

By this project, my most-used Twig extensions are bundled as a composer package.

Usage
-----

[](#usage)

```
// ...
$twig = new Twig_Environment( $loader, $options );
$twig->addExtension( new use macwinnie\TwigExtensions\All() );
// ...
```

last dependency update and test
-------------------------------

[](#last-dependency-update-and-test)

2024-10-13 23:28:44

Licence
-------

[](#licence)

[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/deed.en)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

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

Total

132

Last Release

612d ago

PHP version history (3 changes)1.0.0PHP ^7.4 || ^8.0

1.1.0PHP ^7.4 || ^8

1.1.1PHP &gt;= 8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/06148942cbb815f08bd44856cdc26cc63446ef01adf1f207100ae76965c017d6?d=identicon)[macwinnie](/maintainers/macwinnie)

---

Top Contributors

[![macwinnie](https://avatars.githubusercontent.com/u/1001936?v=4)](https://github.com/macwinnie "macwinnie (139 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k60](/packages/open-dxp-opendxp)

PHPackages © 2026

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