PHPackages                             chrisdicarlo/eloquent-human-timestamps - 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. [Database &amp; ORM](/categories/database)
4. /
5. chrisdicarlo/eloquent-human-timestamps

ActiveLibrary[Database &amp; ORM](/categories/database)

chrisdicarlo/eloquent-human-timestamps
======================================

v6.1.0(5mo ago)366.8k↓21.8%2MITPHPPHP ^8.2CI passing

Since Oct 16Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/chrisdicarlo/eloquent-human-timestamps)[ Packagist](https://packagist.org/packages/chrisdicarlo/eloquent-human-timestamps)[ Docs](https://github.com/chrisdicarlo/eloquent-human-timestamps)[ RSS](/packages/chrisdicarlo-eloquent-human-timestamps/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (15)Used By (0)

Automatic human timestamp properties in Laravel
===============================================

[](#automatic-human-timestamp-properties-in-laravel)

This package provides a trait you can add to an Eloquent model that will automatically create human-readable timestamp diffs using Carbon.

[![Latest Version on Packagist](https://camo.githubusercontent.com/7dd7852805d6b0501e0f51420fbcd9d3f38a4255c5f46c052e3a98b3a880c43f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636872697364696361726c6f2f656c6f7175656e742d68756d616e2d74696d657374616d70732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chrisdicarlo/eloquent-human-timestamps)[![Laravel 11 Tests](https://github.com/chrisdicarlo/eloquent-human-timestamps/actions/workflows/run-tests-L11.yml/badge.svg)](https://github.com/chrisdicarlo/eloquent-human-timestamps/actions/workflows/run-tests-L11.yml/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/7b244afc143083bceb3b2e4de54f11ffb504a91b373d166665fbca5aeda0d710/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636872697364696361726c6f2f656c6f7175656e742d68756d616e2d74696d657374616d70732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chrisdicarlo/eloquent-human-timestamps)

Version Compatibility
---------------------

[](#version-compatibility)

LaravelPHPPackage Version68.0, 7.4, 7.3278.0, 7.4, 7.3288.1, 8.0, 7.4, 7.3398.1, 8.04108.1, 8.2, 8.3, 8.4511,128.2, 8.3, 8.46.xInstallation
------------

[](#installation)

To install the package run:

```
composer require chrisdicarlo/eloquent-human-timestamps

```

Setup
-----

[](#setup)

Add the ChrisDiCarlo\\EloquentHumanTimestamps\\HumanTimestamps trait to a model that has timestamp columns, e.g.:

```

use ChrisDiCarlo\EloquentHumanTimestamps\HumanTimestamps;

class Foobar
{

    use HumanTimestamps;

   ...

}

```

Usage
-----

[](#usage)

To get the human-readable attribute, simply retrieve the timestamp normally but append **\_for\_humans** to the name, e.g. created\_at\_for\_humans, updated\_at\_for\_humans.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance70

Regular maintenance activity

Popularity34

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~169 days

Recently: every ~342 days

Total

12

Last Release

177d ago

Major Versions

v1.0.1 → v2.0.02021-04-18

v2.x-dev → v3.0.02021-12-11

v3.x-dev → v4.0.02022-02-24

v4.x-dev → v5.0.02023-03-12

v5.0.0 → v6.0.02025-02-09

PHP version history (6 changes)v2.0.0PHP ^7.2.5|^8.0

v2.0.1PHP ^7.3|^8.0

v3.0.0PHP ^7.3|^8.0|^8.1

v4.0.0PHP ^8.0

v6.0.0PHP ^7.3|^8.0|^8.1|^8.2|^8.3|^8.4

v6.1.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/6159207435e8cabb711901d8ccd89a36efc20b12f501ae282fa0e1b72720e461?d=identicon)[dicarlosystems](/maintainers/dicarlosystems)

---

Top Contributors

[![chrisdicarlo](https://avatars.githubusercontent.com/u/3483368?v=4)](https://github.com/chrisdicarlo "chrisdicarlo (65 commits)")

---

Tags

eloquentlaraveltimestamp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/chrisdicarlo-eloquent-human-timestamps/health.svg)

```
[![Health](https://phpackages.com/badges/chrisdicarlo-eloquent-human-timestamps/health.svg)](https://phpackages.com/packages/chrisdicarlo-eloquent-human-timestamps)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[genealabs/laravel-pivot-events

This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.

1404.9M8](/packages/genealabs-laravel-pivot-events)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
