mpratt/relativetime
A lightweight PHP library for converting timestamps and DateTime objects into human-readable relative time strings like "5 minutes ago" or "in 2 days", with localization support and simple integration into Laravel or any PHP project.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| alexeyshockov/clock | 0.86 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| schmeits/pulse-panphp | 0.86 | A Laravel Pulse card that integrates PanPHP's privacy-friendly analytics into your Pulse dashboard, letting you monitor page views, visitors, and traffic trends alongside application health metrics. Simple to install and configure. | 5 | — | 2 | — | 0 | 20.5 | 0.5 | MIT | 1 week ago | |
| alhames/phphelper | 0.86 | PHP Helper is a small set of utility classes and functions for PHP 7.1+ to make common tasks easier. Includes a Str helper (docs in Russian) and other lightweight tools to simplify everyday development. | 0 | 0 | 0 | 1 | 0 | 2.4 | 4.2 | MIT | 6 years ago | |
| apie/date-value-objects | 0.85 | Date-related value objects for PHP/Apie that model only the date/time parts you need (LocalDate, Time, HourAndMinutes, UnixTimestamp, DateWithTimezone). Helps validate expected formats without relying on full DateTimeImmutable. | 0 | 0 | 0 | 12 | 0 | 0.0 | 15.4 | MIT | — | |
| fisharebest/ext-calendar | 0.85 | A pure-PHP implementation of PHP's calendar extension, providing cal_* functions and conversions between Julian day counts and Gregorian, Julian, Jewish, and French Republican calendars. Useful as a polyfill when ext-calendar is unavailable. | 31 | — | 7 | — | 2 | 1.0 | 0.8 | GPL-3.0 | — |
|
| assistenzde/database-timezone | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| herrera-io/date-interval | 0.85 | Extends PHP’s DateInterval with handy conversions: turn intervals into ISO interval specs and seconds, and recreate intervals from seconds. Useful for normalizing and serializing durations (e.g., P2H <-> 7200). | 15 | 15 | 7 | 189 | 0 | 0.2 | 10.8 | MIT | — | |
| approached/laravel-date-international | 0.85 | Laravel Date International is a Laravel package for locale-aware date formatting. It helps present dates using regional conventions, with Carbon and Blade integration so dates read naturally for users across different languages and regions. | 10 | 10 | 6 | 74 | 0 | 0.3 | 8.7 | MIT | 6 years ago | |
| label84/laravel-hours-helper | 0.84 | Generate an Illuminate\Support\Collection of dates and times at a set interval for a given period—ideal for calendar dropdowns, meeting invites, and event scheduling. Supports custom formatting, excluded intervals, past-midnight ranges, and multi-day spans. | 276 | 277 | 23 | 4K | 1 | 12.0 | 16.4 | MIT | 7 months ago | |
| kylekatarnls/laravel-carbon-2 | 0.84 | Integrates Carbon 2 into Laravel apps that still ship Carbon 1. Swap the bundled Carbon for the newer API—localization, diff methods, immutable dates—without upgrading your framework. A drop-in compatibility bridge for older Laravel versions. | 63 | 63 | 1 | 25K | 0 | 0.6 | 35.8 | MIT | 8 years ago | |
| eschmar/time-ago-bundle | 0.84 | TimeAgoBundle provides a simple Twig filter for Symfony that expresses time differences in words, returning actual dates beyond ±7 days. Supports many languages, configurable date format, and future times. Install via Composer; works with Symfony 2.8–5.x. | 17 | 18 | 20 | 405 | 0 | 5.9 | 18.9 | MIT | 4 years ago | |
| djl997/blade-shortcuts | 0.84 | djl997/blade-shortcuts adds convenient shortcuts for common Laravel Blade tasks, helping you write cleaner, more concise templates with less repetitive markup. It integrates with Blade so everyday view patterns become simpler while staying within familiar Laravel conventions. | 41 | — | 1 | — | 0 | 20.1 | — | MIT | 3 weeks ago | |
| cocur/human-date | 0.84 | 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. | 28 | 30 | 1 | 125 | 3 | 1.2 | 10.4 | MIT | 12 years ago | |
| glhd/laravel-timezone-mapper | 0.83 | Laravel Timezone Mapper helps map IANA timezone identifiers to the values your app needs, with a clean Laravel integration and simple API. It makes timezone lookups and display easier in forms, APIs, and user settings. | 47 | 47 | 1 | 38K | 0 | 8.4 | 42.8 | MIT | 7 months ago | |
| hubertalva/laravel-vermicelli-starter-kit | 0.83 | Hubert Alva's Laravel Vermicelli Starter Kit offers an opinionated, ready-to-use Laravel foundation with preconfigured authentication, user management, and a clean UI, so you can skip repetitive scaffolding and focus on building your application's features faster. | 1 | 1 | 0 | 5 | 0 | 19.8 | 8.8 | — | 2 weeks ago | |
| postyou/dealsandprojects-bundle | 0.83 | A Contao bundle for managing deals and projects, giving editors structured backend modules to create, organize, and publish offers or project entries. Content is delivered through frontend modules and templates, making it straightforward to present deal listings and project showcases on a Contao sit... | 0 | — | 0 | — | 0 | 0.3 | — | MIT | 2 years ago | |
| moment/moment | 0.83 | Moment.js is a JavaScript date library for parsing, validating, manipulating, and formatting dates, with a simple API for date math, time zones, and localization. Now in maintenance mode but still widely used. Install with npm install moment. | 47,878 | 47,894 | 6,981 | 23K | 42 | 73.5 | 32.4 | MIT | 1 month ago | |
| jamesmills/laravel-timezone | 0.83 | Laravel Timezone detects each visitor's timezone in the browser and stores it in the session, automatically applying it to your app for accurate date and time display. Includes a Blade directive, middleware, and configurable settings. | 694 | — | 101 | — | 20 | 13.9 | 12.3 | MIT | 8 years ago |
|
| tempest/clock | 0.83 | A lightweight clock abstraction for the Tempest framework, offering a testable interface for reading the current time. Swap in a frozen or mock clock during tests so time-dependent code stays deterministic instead of relying on native PHP date functions. | 0 | 0 | 0 | 113 | 0 | 0.0 | 28.4 | MIT | — | |
| fresh/datetime | 0.83 | Fresh DateTime adds convenient, expressive date and time handling to Laravel and PHP applications. It simplifies parsing, formatting, comparing, and manipulating dates, with timezone-aware helpers and a clean, chainable API for everyday scheduling and timestamp tasks. | 18 | 19 | 3 | 35K | 0 | 5.3 | 46.9 | MIT | 9 months ago |
How can I help you explore Laravel packages today?