cocur/human-date
Transforms DateTime values into human‑readable strings like Today, Tomorrow, Yesterday, Next Tuesday, or formatted dates. Supports translated strings via a translation interface (including Symfony Translation). Lightweight, no external dependencies, PSR‑4, PHP 5.4+ and HHVM.
Adopt if:
Look elsewhere if:
For Executives: "This package lets us deliver cleaner, more intuitive date displays (e.g., ‘Yesterday’ instead of timestamps) with almost no effort. It’s a low-risk, high-reward way to improve UX in notifications, logs, and dashboards—saving dev time while keeping costs near zero. Think of it as ‘autocomplete for dates.’"
For Engineering:
"A 2KB MIT-licensed package that plugs into Laravel’s date handling. No dependencies, no fluff—just HumanDate::parse($date) to get ‘3 hours ago.’ Ideal for quick wins on UX polish or i18n. Tradeoff: Last updated in 2014, but stable for basic use. For anything complex, we’d still use Carbon."
How can I help you explore Laravel packages today?