https://github.com/softspring/time-ago-bundle
This bundle provides a simple twig extension to human readable date diff based on translations
https://github.com/softspring/time-ago-bundle
symfony-bundle twig-extension
Last synced: about 1 year ago
JSON representation
This bundle provides a simple twig extension to human readable date diff based on translations
- Host: GitHub
- URL: https://github.com/softspring/time-ago-bundle
- Owner: softspring
- License: agpl-3.0
- Created: 2018-10-29T12:30:42.000Z (over 7 years ago)
- Default Branch: 5.5
- Last Pushed: 2025-03-21T13:13:09.000Z (over 1 year ago)
- Last Synced: 2025-03-24T18:07:31.128Z (over 1 year ago)
- Topics: symfony-bundle, twig-extension
- Language: PHP
- Homepage:
- Size: 54.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Time ago bundle





[](https://github.com/softspring/time-ago-bundle/actions/workflows/ci.yml)
This bundle provides a simple twig extension to human readable date diff based on translations.
## Installation
### Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
```console
$ composer require softspring/time-ago-bundle
```
### Applications that don't use Symfony Flex
#### Step 1: Download the Bundle
Open a command console, enter your project directory and execute the
following command to download the latest stable version of this bundle:
```console
$ composer require softspring/time-ago-bundle
```
This command requires you to have Composer installed globally, as explained
in the [installation chapter](https://getcomposer.org/doc/00-intro.md)
of the Composer documentation.
#### Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the `app/AppKernel.php` file of your project:
```php