PHPackages                             bearlikelion/twig-timetools - 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. bearlikelion/twig-timetools

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

bearlikelion/twig-timetools
===========================

A Twig extension to convert timestamps to readable seconds ago.

1.0.0(11y ago)0409MITPHPPHP &gt;=5.3.0

Since Aug 27Pushed 11y ago1 watchersCompare

[ Source](https://github.com/bearlikelion/twig-timetools)[ Packagist](https://packagist.org/packages/bearlikelion/twig-timetools)[ RSS](/packages/bearlikelion-twig-timetools/feed)WikiDiscussions master Synced 1mo ago

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

Twig Time Tools
===============

[](#twig-time-tools)

A simple twig extension to provide a filter for *ago* to convert timestamps to readable X minutes ago.

**Requirements:**

- [Twig](https://github.com/fabpot/Twig)

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

[](#installation)

```
"require": {
	"bearlikelion/twig-timetools": "dev-master",
}

```

Example
-------

[](#example)

```
$twig = new Twig_Environment(new Twig_Loader_Filesystem('Views'));
$twig->addExtension(new Bearlikelion\TwigTimeTools\Extension);
```

```

		{{ timestamp|ago }}

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4273d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/01d4559bff863b2e16ce21f595b3f031ce02c2b631aede3c70e4aa83e09b4aa7?d=identicon)[bearlikelion](/maintainers/bearlikelion)

---

Top Contributors

[![bearlikelion](https://avatars.githubusercontent.com/u/3298808?v=4)](https://github.com/bearlikelion "bearlikelion (2 commits)")

---

Tags

twigtimeextension

### Embed Badge

![Health badge](/badges/bearlikelion-twig-timetools/health.svg)

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

###  Alternatives

[shoot/shoot

Shoot aims to make providing data to your templates more manageable

41229.9k2](/packages/shoot-shoot)[redant/twig-components

Define reusable components in Twig.

3819.8k1](/packages/redant-twig-components)[eschmar/time-ago-bundle

Provides a simple twig filter for expressing time difference in words.

1851.4k](/packages/eschmar-time-ago-bundle)

PHPackages © 2026

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