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

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

wucdbm/twig-defer-extension
===========================

Defer rendering of TWIG template pieces

v3.1.3(3y ago)07.3k↓93.8%GPL-3.0PHPPHP &gt;=7.0CI failing

Since Jul 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/wucdbm/twig-defer-extension)[ Packagist](https://packagist.org/packages/wucdbm/twig-defer-extension)[ RSS](/packages/wucdbm-twig-defer-extension/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (13)Used By (0)

Using this small library you can "cache" the output of twig code and print it later.

Use the {% defer %} tag to cache your output. Both {% defer NAME EXPRESSION %} and {% defer NAME %} EXPRESSION {% enddefer %} are possible.

```
    {% defer 'someKey' 'defaultValueExpression' %}
    {% defer someKeyVariable 'someDefaultValueExpression' %}
    {% defer 'someKey' %}
        someBlock {{ with Variables }}
    {% enddefer %}

    {% if 'someKey' is deferred %}
    {% if someVariableValue is deferred %}

    {{ someKey|deferred('defaultValue') }}

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Recently: every ~501 days

Total

12

Last Release

1314d ago

Major Versions

1.0.x-dev → v2.0.02017-01-11

2.0.x-dev → 3.0.x-dev2017-06-04

PHP version history (3 changes)v1.0.0PHP ~5.5|~7.0

3.0.x-devPHP ~7.0

v3.1.3PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/56129a0e9c0044d2857f405e0cf44b1c8f53bc86503dfc1c0ac3829401333c5e?d=identicon)[wucdbm](/maintainers/wucdbm)

---

Top Contributors

[![wucdbm](https://avatars.githubusercontent.com/u/1559022?v=4)](https://github.com/wucdbm "wucdbm (15 commits)")

---

Tags

twigtemplating

### Embed Badge

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

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

###  Alternatives

[timber/timber

Create WordPress themes with beautiful OOP code and the Twig Template Engine

5.7k3.7M132](/packages/timber-timber)[symfony/ux-twig-component

Twig components for Symfony

22018.6M356](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1647.0M128](/packages/symfony-ux-live-component)[symfony/ux-toolkit

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

16126.1k1](/packages/symfony-ux-toolkit)[mati365/ckeditor5-symfony

CKEditor 5 integration for Symfony

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

PHPackages © 2026

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