Eloquent Human Timestamps

Eloquent Human Timestamps

Automatic Human Timestamps


Description

Automatic Human Timestamps

This package supplies a trait that can be attached to an Eloquent model. The trait automatically generates human‑readable timestamp differences using Carbon, such as “edited 3 minutes ago”.

The implementation is opinionated: it delivers the human‑friendly timestamps without requiring you to create custom accessors manually. To obtain the formatted attribute, simply retrieve the original timestamp field and append _for_humans to its name—for example:

  • created_at_for_humans
  • updated_at_for_humans

Creator

Chris Di Carlo
@chris_di_carlo

Related Projects

Laravel Artifact

Laravel Artifact

Media Management Package

Mirror

Mirror

Impersonation Package

LaravelPlus Updater

LaravelPlus Updater

Sync Laravel Projects

Laravel Credits

Laravel Credits

Credit Management System

Laravel Glider

Laravel Glider

Glide Image Manipulation in Blade Templates

Laravel Ownable

Laravel Ownable

Eloquent Ownership Relationships