Download the PHP package commentar/time-ago without Composer
On this page you can find all versions of the php package commentar/time-ago. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package time-ago
TimeAgo
Date renderer for the Commentar project. This package calculates the time since a specific DateTime
object en displays it in a human readable format. E.g. 5 minutes ago
.
The supported steps are:
- seconds
- minutes
- hours
- days
- weeks
- months
- years
It is installed by default when first installing the Commentar system.
Installation
If you are running a standard installation of Commentar you don't have to install anything (it is the default timestamp formatter of the system).
Add the formatter to the project's composer.json
file:
"require": {
"commentar/time-ago": "0.0.*",
}
Use it in your templates:
All versions of time-ago with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
The package commentar/time-ago contains the following files
Loading the files please wait ....