PHPackages                             scullwm/swmcache-twig-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. [Caching](/categories/caching)
4. /
5. scullwm/swmcache-twig-extension

ActiveLibrary[Caching](/categories/caching)

scullwm/swmcache-twig-extension
===============================

Flat Cache part of your content in Twig. Perfect to reduce render() gen time. Twig cache extension that work without dependency.

360PHP

Since Jan 20Pushed 12y ago1 watchersCompare

[ Source](https://github.com/ScullWM/SwmCache-Twig-Extension)[ Packagist](https://packagist.org/packages/scullwm/swmcache-twig-extension)[ RSS](/packages/scullwm-swmcache-twig-extension/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

SwmCache-Twig-Extension
=======================

[](#swmcache-twig-extension)

Flat Cache part of your content in Twig. Perfect to reduce render() gen time. Twig cache extension that work without dependency.

[![Total Downloads](https://camo.githubusercontent.com/4306f4804a888d340986b52014dab72e2e21edff3350a4fe8b05c65c702cf96d/68747470733a2f2f706f7365722e707567782e6f72672f7363756c6c776d2f73776d63616368652d747769672d657874656e73696f6e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/scullwm/swmcache-twig-extension)

Why
---

[](#why)

Couldn't find a simple twig cache extension that don't need many libs. Here it just use the Twig Cache Folder

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

[](#installation)

The extension is installable via composer:

```
{
    "require": {
        "scullwm/swmcache-twig-extension": "dev-master"
    }
}
```

Usage
-----

[](#usage)

```

```

How to use ?
------------

[](#how-to-use-)

```
    {% swmcache 'ephemeride' '3600' %}
        {{ render(url('page_ephemeride')) }}
    {% endswmcache %}
```

Todo
----

[](#todo)

- Write tests

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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/4a27e3236ea45c2a93f2ef189f37c0c72bfab70f6d73714d396456c6e3d3c25c?d=identicon)[ScullWM](/maintainers/ScullWM)

---

Top Contributors

[![ScullWM](https://avatars.githubusercontent.com/u/1017746?v=4)](https://github.com/ScullWM "ScullWM (23 commits)")

### Embed Badge

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

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

###  Alternatives

[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

32136.0k](/packages/beryllium-cachebundle)

PHPackages © 2026

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