PHPackages                             symfonyx/knp-time-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. symfonyx/knp-time-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

symfonyx/knp-time-bundle
========================

Knplabs time bundle makes your dates look sensible and descriptive

1.7.3(9y ago)0249MITPHPPHP &gt;=5.5

Since Jan 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/symfonyx/KnpTimeBundle)[ Packagist](https://packagist.org/packages/symfonyx/knp-time-bundle)[ Docs](http://github.com/KnpLabs/KnpTimeBundle)[ RSS](/packages/symfonyx-knp-time-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (5)Versions (16)Used By (0)

Friendly ago dates ("5 minutes ago")!
=====================================

[](#friendly-ago-dates-5-minutes-ago)

This bundle does one simple job: takes dates and gives you friendly "2 hours ago"-type messages. Woh!

```
Last edited {{ post.updatedAt|ago }}

```

The date formatted can be translated into any language, and may are supported out of the box.

INSTALLATION via Composer
-------------------------

[](#installation-via-composer)

```
composer require knplabs/knp-time-bundle

```

CONFIGURATION
-------------

[](#configuration)

Register the bundle:

```
