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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| awd-studio/vo-date-time | 0.87 | 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 | |
| lcobucci/clock | 0.87 | Small PHP clock abstraction to decouple your code from direct DateTimeImmutable instantiation. Depend on the Clock interface and use SystemClock for real time or FrozenClock for deterministic tests, with explicit timezone support. | 796 | 798 | 32 | 5M | 1 | 28.0 | 60.7 | MIT | 1 month ago | |
| alexeyshockov/clock | 0.86 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| bukashk0zzz/timestamptype-bundle | 0.85 | — | 1 | 1 | 0 | 1K | 0 | 4.2 | 37.3 | MIT | 2 years ago | |
| aeon-php/calendar | 0.85 | 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. | 204 | 207 | 8 | 217K | 0 | 10.4 | 42.0 | — | 3 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,971 | 47,982 | 6,987 | 12K | 249 | 60.0 | 27.5 | MIT | — | |
| 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 | 24 | 0 | 0.0 | 19.3 | MIT | — | |
| 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 | — | |
| chaplean/business-days-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 6 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 | 28 | 3 | 1.2 | 3.4 | 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,361 | 1,369 | 71 | 780K | 1 | 35.5 | 43.8 | MIT | 2 months ago | |
| digital-craftsman/datetime-parts | 0.84 | 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 | 25.3 | 2.2 | MIT | 2 months ago | |
| nesbot/carbon | 0.84 | 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. | 177 | 592 | 27 | 12M | 3 | 24.4 | 64.4 | MIT | 2 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 | 28K | 0 | 21.2 | 64.8 | MIT | 2 weeks 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. | 362 | 366 | 35 | 149K | 19 | 30.2 | 49.0 | MIT | 5 months ago | |
| comsolit/clock-bundle | 0.83 | — | 0 | 0 | 1 | 2 | 4 | 1.0 | 7.3 | — | — | |
| symfony/clock | 0.83 | Symfony Clock decouples your app from the system clock via a ClockInterface. Swap real and test clocks, get DateTimeImmutable “now()” values, control time zones, and pause execution with sleep()—ideal for time-sensitive code and reliable testing. | 431 | 432 | 3 | 11M | 0 | 32.4 | 65.0 | MIT | 1 week ago | |
| knplabs/knp-time-bundle | 0.83 | — | 624 | 633 | 103 | 199K | 13 | 29.4 | 43.3 | MIT | 6 months ago | |
| assoconnect/php-date-bundle | 0.82 | — | 3 | 3 | 0 | 206 | 0 | 22.9 | 26.6 | MIT | 3 months ago |
How can I help you explore Laravel packages today?