digital-craftsman/date-time-precision
Thin PHP value objects for precise date/time concepts: Moment (UTC-backed) plus Time, Date, Month, Year, Day, Weekday and collections. Avoid misleading DateTime comparisons, handle timezone-safe modifications (DST), with Symfony normalizers and Doctrine types.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| lcobucci/clock | 0.90 | Clock abstraction for PHP to decouple your code from DateTimeImmutable instantiation. Depend on the Clock interface and use SystemClock for real time (with timezone support) or FrozenClock for deterministic, test-friendly time in unit tests. | 799 | 801 | 32 | 5M | 1 | 25.6 | 60.1 | MIT | 3 months ago | |
| alexeyshockov/clock | 0.86 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| aeon-php/calendar | 0.86 | Aeon Calendar is a time management framework for PHP that makes working with dates, times, time zones, and intervals easier through a clean, object-oriented API, backed by solid testing and clear documentation with examples. | 206 | 209 | 8 | 192K | 0 | 10.4 | 41.0 | — | 3 years 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 | 0 | 0 | 2.4 | — | MIT | 6 years ago | |
| awd-studio/vo-date-time | 0.86 | Immutable PHP 8.3+ date-time value object. Create from strings, compare (equal/greater/less/between), and return new instances for changes like nextDay(), copy(), or modified() with DateTimePeriod offsets (days, minutes, weeks). | 0 | 0 | 0 | 0 | 0 | 0.9 | — | — | 1 year ago | |
| andanteproject/timestampable-bundle | 0.86 | Symfony bundle for Doctrine entities that automatically manages createdAt and updatedAt with DateTimeImmutable. Zero config to start, customizable, uses Symfony Clock, no attributes needed, and won’t overwrite timestamps you set manually. Compatible with Symfony 5–8, PHP 8.2. | 9 | 9 | 3 | 4K | 0 | 19.8 | 40.7 | MIT | 3 months 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 | 20 | 0 | 0.0 | 18.3 | MIT | — | |
| bukashk0zzz/timestamptype-bundle | 0.85 | — | 1 | 1 | 0 | 988 | 0 | 4.2 | 37.2 | MIT | 2 years ago | |
| moment/moment | 0.85 | Moment.js is a widely used JavaScript library for parsing, validating, manipulating, and formatting dates and times. It supports locales, time zones via plugins, and human-friendly output like relative time, making date handling simpler across apps. | 47,926 | 47,947 | 6,988 | 10K | 171 | 79.8 | 32.6 | MIT | 1 week ago | |
| digital-craftsman/datetime-parts | 0.85 | Value objects for precise date/time parts in PHP: Moment (UTC-based) plus Time, Date, Month, Year, Day/Weekday and collections. Avoid misleading DateTime comparisons, handle timezone-safe modifications across DST, with Symfony normalizers and Doctrine types. | 0 | 0 | 0 | 0 | 5 | 22.0 | 2.1 | MIT | 4 months ago | |
| baskooijmaninc/suzie | 0.85 | Laravel package providing Suzie-related helpers and integrations for your app. Includes service provider setup, configuration options, and utilities to simplify common tasks and streamline development workflows. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| nesbot/carbon | 0.85 | Carbon is a PHP DateTime extension for easy date/time parsing, formatting, arithmetic, timezones, and human-friendly differences. Common in Laravel, it adds a fluent API, helpers like now()/today(), and readable methods for complex date logic. | 191 | 606 | 29 | 15M | 2 | 27.3 | 64.3 | MIT | 3 weeks ago | |
| comsolit/clock-bundle | 0.85 | — | 0 | 0 | 1 | 0 | 4 | 1.0 | 0.8 | — | — | |
| chaplean/business-days-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 7 years ago | |
| cocur/human-date | 0.85 | 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 | 54 | 3 | 1.2 | 6.7 | MIT | 12 years ago | |
| cakephp/chronos | 0.84 | Chronos provides immutable date/time objects for PHP, helping prevent accidental mutations and side effects. Includes ChronosDate for calendar dates fixed at 00:00:00, plus convenient APIs inspired by Carbon but no longer extending DateTime. | 1,362 | 1,369 | 70 | 824K | 1 | 32.5 | 43.3 | MIT | 3 months ago | |
| artur-gajewski/date-converter-bundle | 0.84 | — | 3 | 3 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| php-standard-library/date-time | 0.84 | Immutable, timezone-aware DateTime types for PHP. Provides Duration, Period, and Interval helpers for safer date/time arithmetic and ranges, designed as a standard-library style package with clear docs and contribution links. | 1 | 1 | 0 | 38K | 0 | 18.0 | 63.3 | MIT | 2 months ago | |
| brick/date-time | 0.83 | Immutable, ISO-8601–focused date/time API for PHP 8.2+ built on top of native DateTime, adding missing types like LocalDate, LocalTime, YearMonth, and MonthDay. Inspired by Java’s JSR-310, well-tested, production-ready, Composer installable. | 361 | 367 | 36 | 177K | 19 | 26.6 | 49.1 | MIT | 7 months ago | |
| knplabs/knp-time-bundle | 0.83 | — | 623 | 633 | 103 | 218K | 13 | 28.7 | 43.6 | MIT | 7 months ago |
How can I help you explore Laravel packages today?