digital-craftsman/datetime-parts
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| alhames/phphelper | 0.88 | 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 | |
| lcobucci/clock | 0.88 | 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 | |
| bitandblack/duration | 0.86 | bitandblack/duration provides a small PHP/Laravel utility for working with time spans: create, parse, and format durations in a readable way, convert between units, and simplify common duration calculations for apps, jobs, and reports. | 0 | 0 | — | 725 | — | 0.0 | 39.3 | — | — | |
| symfony/clock | 0.86 | Symfony Clock decouples your code from the system clock. Inject ClockInterface to get DateTimeImmutable via now(), control timezones, and pause execution with sleep(). Ideal for testable, time-sensitive services without relying on global time. | 432 | 437 | 3 | 13M | 0 | 28.8 | 63.2 | MIT | 2 months ago | |
| 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 | |
| alexeyshockov/clock | 0.86 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| comsolit/clock-bundle | 0.84 | — | 0 | 0 | 1 | 0 | 4 | 1.0 | 0.8 | — | — | |
| 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 | |
| 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 | |
| digital-craftsman/date-time-precision | 0.84 | 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. | 0 | 0 | 0 | 69 | 5 | 21.9 | 30.4 | MIT | 4 months ago | |
| awd-studio/vo-date-time | 0.84 | 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 | |
| apie/date-value-objects | 0.84 | 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 | — | |
| league/period | 0.84 | — | 733 | 753 | 45 | 131K | 0 | 18.6 | 32.4 | MIT | 9 months ago | |
| brick/date-time | 0.84 | 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 | |
| assoconnect/php-date-bundle | 0.83 | — | 3 | 3 | 0 | 739 | 0 | 28.5 | 36.7 | MIT | 2 weeks ago | |
| knplabs/knp-time-bundle | 0.82 | — | 623 | 633 | 103 | 218K | 13 | 28.7 | 43.6 | MIT | 7 months ago | |
| assistenzde/database-timezone | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| chamber-orchestra/doctrine-clock-bundle | 0.81 | — | 1 | 1 | 0 | 1K | 0 | 0.0 | 38.7 | MIT | — | |
| jenssegers/date | 0.77 | — | 1,804 | 1,846 | 252 | 83K | 7 | 27.7 | 25.6 | MIT | 6 years ago |
How can I help you explore Laravel packages today?