PHPackages                             twig/cache-extension - 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. twig/cache-extension

Abandoned → [twig/cache-extra](/?search=twig%2Fcache-extra)Library[Templating &amp; Views](/categories/templating)

twig/cache-extension
====================

Cache fragments of templates directly within Twig.

v1.5.0(5y ago)672.3M—3.9%94MITPHPPHP &gt;=5.3.2CI failing

Since Jan 1Pushed 5y ago4 watchersCompare

[ Source](https://github.com/twigphp/twig-cache-extension)[ Packagist](https://packagist.org/packages/twig/cache-extension)[ Docs](https://github.com/twigphp/twig-cache-extension)[ GitHub Sponsors](https://github.com/fabpot)[ Fund](https://tidelift.com/funding/github/packagist/twig/twig)[ RSS](/packages/twig-cache-extension/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (3)Used By (4)

Twig cache extension
====================

[](#twig-cache-extension)

This extension is not maintained anymore. Please use  instead.

Documentation:

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity54

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60.7% 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 ~276 days

Total

2

Last Release

2052d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47313?v=4)[Fabien Potencier](/maintainers/fabpot)[@fabpot](https://github.com/fabpot)

---

Top Contributors

[![asm89](https://avatars.githubusercontent.com/u/657357?v=4)](https://github.com/asm89 "asm89 (37 commits)")[![stloyd](https://avatars.githubusercontent.com/u/67402?v=4)](https://github.com/stloyd "stloyd (5 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (3 commits)")[![Koc](https://avatars.githubusercontent.com/u/191082?v=4)](https://github.com/Koc "Koc (2 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (2 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (2 commits)")[![itinance](https://avatars.githubusercontent.com/u/1758597?v=4)](https://github.com/itinance "itinance (2 commits)")[![adriacidre](https://avatars.githubusercontent.com/u/593270?v=4)](https://github.com/adriacidre "adriacidre (1 commits)")[![vicb](https://avatars.githubusercontent.com/u/248818?v=4)](https://github.com/vicb "vicb (1 commits)")[![DenysMedvid](https://avatars.githubusercontent.com/u/639684?v=4)](https://github.com/DenysMedvid "DenysMedvid (1 commits)")[![fritsjanb](https://avatars.githubusercontent.com/u/1194777?v=4)](https://github.com/fritsjanb "fritsjanb (1 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (1 commits)")[![pourquoi](https://avatars.githubusercontent.com/u/1443410?v=4)](https://github.com/pourquoi "pourquoi (1 commits)")[![reenl](https://avatars.githubusercontent.com/u/951945?v=4)](https://github.com/reenl "reenl (1 commits)")[![rvanlaak](https://avatars.githubusercontent.com/u/2707563?v=4)](https://github.com/rvanlaak "rvanlaak (1 commits)")

---

Tags

cachephptwigtwig-extensiontwigcacheextension

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/twig-cache-extension/health.svg)

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

###  Alternatives

[twig/cache-extra

A Twig extension for Symfony Cache

392.1M20](/packages/twig-cache-extra)[shoot/shoot

Shoot aims to make providing data to your templates more manageable

40229.9k2](/packages/shoot-shoot)[redant/twig-components

Define reusable components in Twig.

3819.8k1](/packages/redant-twig-components)

PHPackages © 2026

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