Skip to content

Get Started ​

Easily convert dates and times into a user-friendly "n time ago" format with support for multiple languages. Whether it's 1 hour ago, 2 days ago, or Just now, this library makes it simple to provide localized, human-readable date formatting.

Read More

For more details about this library you can find on the "What is Ago?" page.

Quick Start ​

To use Ago, first, you need to install it via Composer package manager and have minimum PHP version 8.1.

bash
composer require serhii/ago:^4.0

Supported PHP Versions ​

The list of all supported PHP versions: