PHPackages                             szalayk/datehuman - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. szalayk/datehuman

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

szalayk/datehuman
=================

Human-readable time difference in multiple languages (e.g. '3 hours ago', 'in 2 days').

v1.0.0(6mo ago)01MITPHPPHP &gt;=8.0

Since Nov 3Pushed 6mo agoCompare

[ Source](https://github.com/szalayk/datehuman)[ Packagist](https://packagist.org/packages/szalayk/datehuman)[ RSS](/packages/szalayk-datehuman/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

DateHuman
=========

[](#datehuman)

A lightweight PHP library for **human-readable time differences**, supporting **past and future** and **multiple languages** (English, Hungarian, Italian).

Installation
------------

[](#installation)

```
composer require szalayk/datehuman
```

Usage
-----

[](#usage)

```
