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.5k↓30%[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 yesterday

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 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

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

2661d 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

[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)
