chrisdicarlo/eloquent-human-timestamps
Adds human-readable accessors to Eloquent models so timestamp columns like created_at and updated_at can render as phrases such as "3 hours ago" or "in 2 days." Simple Laravel trait integration, customizable formatting, no schema changes needed.
Carbon + translator concern), timezone/business-calendar logic, or full audit trails (use a dedicated activity-log package). Don't let a timestamp-formatter dependency drift into owning those.Adopt when:
Look elsewhere when:
Carbon::diffForHumans() with your translation layer instead.On v6.1.0 specifically: minor, additive, no breaking changes and no deprecations. It does not change the adoption calculus — it removes a future blocker. Upgrade is a low-risk composer update; no data migration or code changes implied.
For executives: A small, low-risk dependency that standardizes how we display "time ago" information across the product, so we stop rebuilding the same formatting logic in every feature. The new release adds Laravel 12 support, which keeps the package aligned with our planned framework upgrade and removes one item from that migration's risk list. Cost is a one-line dependency; exposure is minimal and reversible.
For engineering: Single-purpose package, one trait, no schema changes required unless we opt into persisted columns. v6.1.0 is a minor release adding Laravel 12 compatibility — no breaking changes, no deprecations, no action beyond a version bump. Constrain the version range, verify against our supported Laravel matrix, and add a smoke test asserting output format on one representative model so a future minor release can't silently change presentation. If the maintainer's release cadence stalls behind a future Laravel major, the fallback is inlining the trait — a contained, well-understood piece of code.
How can I help you explore Laravel packages today?