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_humansupdated_at_for_humans
Creator
Chris Di Carlo
@chris_di_carlo
Related Projects
Laravel Artifact
Media Management Package
Mirror
Impersonation Package
LaravelPlus Updater
Sync Laravel Projects
Laravel Credits
Credit Management System
Laravel Glider
Glide Image Manipulation in Blade Templates
Laravel Ownable
Eloquent Ownership Relationships