made with Laravel

Eloquent Human Timestamps

Automatic Human Timestamps

Visit Site


Automatic Human Timestamps

"This package provides a trait you can add to an Eloquent model that will automatically create human-readable timestamp diffs using Carbon (e.g. "edited 3 minutes ago").

It's an opinionated package that provides the human timestamps without the added effort of accessor creation. To get the human-readable attribute, you just need to retrieve the timestamp normally and append _for_humans to the name, e.g. created_at_for_humans, updated_at_for_humans."


Chris Di Carlo

Social Media Links

Alfred Laravel Docs Laravel docs search for Alfred
icon-eye-dark Created with Sketch. 923
Tailwind Merge PHP Merge TailwindCSS Classes in PHP
icon-eye-dark Created with Sketch. 164
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Navigator Navigation / Menu Package
icon-eye-dark Created with Sketch. 2.201
Require PIN Protect Routes with PIN Codes
icon-eye-dark Created with Sketch. 918