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

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

progest/twig-extension-age
==========================

Twig extension to calculate age from date

1.4(7y ago)03.1k↓33.3%[1 issues](https://github.com/ProGestSA/twig-extension-age/issues)MITPHPPHP &gt;=7.0

Since May 14Pushed 7y agoCompare

[ Source](https://github.com/ProGestSA/twig-extension-age)[ Packagist](https://packagist.org/packages/progest/twig-extension-age)[ Docs](https://github.com/ProGestSA/twig-extension-age)[ RSS](/packages/progest-twig-extension-age/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

twig-extension-age
==================

[](#twig-extension-age)

Twig extension to calculate age from date

Installation:

```
# $twig being your Twig_Environment object
$twig->addExtension(new \ProGest\Twig\AgeExtension());
```

Usage:

```
# Pass the date to the age filter
{{ user.birthdate | age }}

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

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

Total

5

Last Release

2606d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cfbed2b9af7793bee45a40e376ad4c5ce4d949d625bfa349468c50eab4954aaf?d=identicon)[ProGest](/maintainers/ProGest)

---

Top Contributors

[![bouzourene](https://avatars.githubusercontent.com/u/1909342?v=4)](https://github.com/bouzourene "bouzourene (1 commits)")

---

Tags

twigdatetimedateage

### Embed Badge

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

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

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91292.0M313](/packages/twig-extra-bundle)[twig/intl-extra

A Twig extension for Intl

36663.2M218](/packages/twig-intl-extra)[rcrowe/twigbridge

Adds the power of Twig to Laravel

9105.9M50](/packages/rcrowe-twigbridge)[twig/string-extra

A Twig extension for Symfony String

21946.0M132](/packages/twig-string-extra)[twig/cssinliner-extra

A Twig extension to allow inlining CSS

23018.5M53](/packages/twig-cssinliner-extra)[jasny/twig-extensions

A set of useful Twig filters

10710.2M8](/packages/jasny-twig-extensions)

PHPackages © 2026

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