made with Laravel

Eloquent Human Timestamps

Automatic Human Timestamps

Visit Site

Description

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."


Creator

Chris Di Carlo
@chris_di_carlo


Social Media Links

Laravel Disposable Email Detect & Block Disposable Email Addresses
icon-eye-dark Created with Sketch. 612
Laravel Schedulable Schedule Eloquent Models without Cron Jobs
icon-eye-dark Created with Sketch. 2.106
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
Laravel Backup Restore Restore Backups Made With spatie/laravel-backup
icon-eye-dark Created with Sketch. 169
PHPOutbox Transactional Outbox Pattern for Laravel
icon-eye-dark Created with Sketch. 152
Laravel Arkitect Enforce Architectural Rules in your Laravel Apps
icon-eye-dark Created with Sketch. 1.013