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

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

twig/cache-extra
================

A Twig extension for Symfony Cache

v3.28.0(2mo ago)392.5M↓54.6%717MITPHPPHP &gt;=8.1.0

Since Jan 5Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/twigphp/cache-extra)[ Packagist](https://packagist.org/packages/twig/cache-extra)[ Docs](https://twig.symfony.com)[ GitHub Sponsors](https://github.com/fabpot)[ Fund](https://tidelift.com/funding/github/packagist/twig/twig)[ RSS](/packages/twig-cache-extra/feed)WikiDiscussions 3.x Synced 2w ago

READMEChangelog (4)Dependencies (9)Versions (30)Used By (17)

Cache Extension
===============

[](#cache-extension)

This package is a Twig extension that provides integration with the Symfony Cache component.

It provides a single [`cache`](https://twig.symfony.com/cache) tag that allows to cache template fragments.

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance90

Actively maintained with recent releases

Popularity53

Moderate usage in the ecosystem

Community33

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 78.3% 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 ~69 days

Recently: every ~39 days

Total

30

Last Release

38d ago

Major Versions

v3.24.0 → v4.0.0-alpha12026-02-07

3.x-dev → 4.x-dev2026-07-12

PHP version history (4 changes)v3.2.1PHP &gt;=7.2.5

v3.12.0PHP &gt;=8.0.2

v3.20.0PHP &gt;=8.1.0

v4.0.0-alpha1PHP &gt;=8.2

### Community

Maintainers

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

---

Top Contributors

[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (36 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (2 commits)")[![javiereguiluz](https://avatars.githubusercontent.com/u/73419?v=4)](https://github.com/javiereguiluz "javiereguiluz (1 commits)")[![jmsche](https://avatars.githubusercontent.com/u/3929498?v=4)](https://github.com/jmsche "jmsche (1 commits)")[![kbond](https://avatars.githubusercontent.com/u/127811?v=4)](https://github.com/kbond "kbond (1 commits)")[![noniagriconomie](https://avatars.githubusercontent.com/u/13205768?v=4)](https://github.com/noniagriconomie "noniagriconomie (1 commits)")[![pulzarraider](https://avatars.githubusercontent.com/u/960844?v=4)](https://github.com/pulzarraider "pulzarraider (1 commits)")[![alexandre-daubois](https://avatars.githubusercontent.com/u/2144837?v=4)](https://github.com/alexandre-daubois "alexandre-daubois (1 commits)")[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (1 commits)")[![derrabus](https://avatars.githubusercontent.com/u/1506493?v=4)](https://github.com/derrabus "derrabus (1 commits)")

---

Tags

cachehtmlphptemplatingtwigtwightmlcache

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.3M430](/packages/easycorp-easyadmin-bundle)[symfony/ux-twig-component

Twig components for Symfony

22020.2M441](/packages/symfony-ux-twig-component)[twig/markdown-extra

A Twig extension for Markdown

12116.8M150](/packages/twig-markdown-extra)[symfony/ux-live-component

Live components for Symfony

1657.5M154](/packages/symfony-ux-live-component)[shopware/storefront

Storefront for Shopware

674.7M286](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M674](/packages/shopware-core)

PHPackages © 2026

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