Download the PHP package little-sumo-labs/time-ago-twig-filter without Composer
On this page you can find all versions of the php package little-sumo-labs/time-ago-twig-filter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download little-sumo-labs/time-ago-twig-filter
More information about little-sumo-labs/time-ago-twig-filter
Files in little-sumo-labs/time-ago-twig-filter
Download little-sumo-labs/time-ago-twig-filter
More information about little-sumo-labs/time-ago-twig-filter
Files in little-sumo-labs/time-ago-twig-filter
Vendor little-sumo-labs
Package time-ago-twig-filter
Short Description Extensions for Twig, giving a date in a more understandable format
License MIT
Package time-ago-twig-filter
Short Description Extensions for Twig, giving a date in a more understandable format
License MIT
Please rate this library. Is it a good library?
Informations about the package time-ago-twig-filter
Get Relative Time in Twig
Extensions for Twig, giving a date in a more understandable format (e.g. '1 hour ago', 'yesterday', 'tomorrow', 'in 2 weeks')
Installation
How to Use it
Import the filter namespace
initializing the filter for Twig
Or
Creation of 'date' variable, which is injected into the Twig view
Using the filter in the Twig view
Example of use
page d'exemple
future developments
- Adding translations for different languages (French, English, Spanish, etc ...)
- ...
Useful links
Articles divers
- Timer relatif
- Créer une date relative en PHP
- Formats supportés de temps et de dates
- Liste des Fuseaux Horaires Supportés en PHP
Documentation Twig
All versions of time-ago-twig-filter with dependencies
PHP Build Version
Package Version
The package little-sumo-labs/time-ago-twig-filter contains the following files
Loading the files please wait ....