jimmiw/php-time-ago
A lightweight PHP library that turns timestamps into human-readable "time ago" strings such as "3 hours ago" or "just now". Includes translations for many languages, handles future dates, and drops easily into any PHP or Laravel project.
jimmiw/php-time-ago converts timestamps and dates into human-friendly "time ago" strings such as "3 hours ago" or "just now". A single static call handles past and future times, applies the correct plural forms, and returns output ready to display.
How can I help you explore Laravel packages today?