brick/date-time
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| awd-studio/vo-date-time | 0.88 | 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 | |
| aeon-php/calendar | 0.88 | 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 | |
| apie/date-value-objects | 0.87 | 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 | — | |
| assoconnect/php-date-bundle | 0.86 | — | 3 | 3 | 0 | 739 | 0 | 28.5 | 36.7 | MIT | 2 weeks ago | |
| digital-craftsman/datetime-parts | 0.86 | 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 | |
| php-standard-library/date-time | 0.86 | 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 | |
| nesbot/carbon | 0.86 | 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 | 4 weeks ago | |
| digital-craftsman/date-time-precision | 0.85 | 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 | |
| alexeyshockov/clock | 0.85 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| symfony/clock | 0.84 | 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 | |
| lcobucci/clock | 0.78 | 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 | |
| jenssegers/date | 0.78 | — | 1,804 | 1,846 | 252 | 83K | 7 | 27.7 | 25.6 | MIT | 6 years ago | |
| comsolit/clock-bundle | 0.78 | — | 0 | 0 | 1 | 0 | 4 | 1.0 | 0.8 | — | — | |
| beste/clock | 0.73 | beste/clock is a lightweight PHP clock implementation for time-dependent code. It provides a simple, test-friendly way to obtain the current time, swap in fixed or mock clocks, and improve determinism across your application and automated tests. | 75 | 75 | 1 | 1M | 0 | 2.6 | 55.3 | MIT | 3 years ago | |
| eloquent/code-style | 0.67 | — | 0 | 0 | 0 | 10 | 0 | 0.8 | 13.8 | MIT | 3 years ago | |
| nikolaposa/version | 0.66 | SemVer value object for PHP. Create versions from components or strings, access major/minor/patch plus pre-release/build metadata, compare versions (lt/gt/eq), and match against constraints for validation and dependency-style checks. | 140 | 140 | 13 | 363K | 1 | 8.2 | 47.1 | MIT | 1 year ago | |
| becklyn/cron-job | 0.66 | — | 3 | 3 | 1 | 178 | 0 | 5.4 | 22.9 | BSD-3-Clause | 3 years ago | |
| nebo15/eloquent.changelog | 0.66 | Laravel package that adds changelog/history tracking to Eloquent models. Record changes to attributes and keep an audit trail you can query later, useful for debugging, compliance, and reviewing edits over time. | 0 | 0 | 0 | 89 | 0 | 2.1 | 27.0 | — | 10 years ago | |
| botman/botman | 0.65 | — | 6,164 | 6,193 | 816 | 23K | 9 | 51.6 | 12.3 | MIT | 5 years ago | |
| cron/cron | 0.65 | PHP library for working with cron expressions: parse and validate schedules, compute next/previous run dates, and check if a date matches a cron pattern. Ideal for Laravel and other PHP apps needing robust, timezone-aware scheduling logic. | 367 | 378 | 74 | 62K | 1 | 9.0 | 30.8 | MIT | 3 years ago |
How can I help you explore Laravel packages today?