php-standard-library/date-time
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bitandblack/duration | 0.91 | 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 | — | 668 | — | 0.0 | 39.1 | — | — | |
| aeon-php/calendar | 0.89 | 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 | |
| moment/moment | 0.89 | 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,938 | 47,976 | 6,993 | 12K | 248 | 60.0 | 27.4 | MIT | — | |
| 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 | 5 years ago | |
| league/period | 0.88 | — | 733 | 753 | 45 | 114K | 0 | 19.6 | 31.8 | MIT | 9 months ago | |
| alexeyshockov/clock | 0.87 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| 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 | |
| jenssegers/date | 0.87 | — | 1,807 | 1,846 | 252 | 84K | 7 | 27.7 | 25.6 | MIT | 6 years ago | |
| nesbot/carbon | 0.87 | 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. | 190 | 597 | 28 | 14M | 0 | 28.0 | 64.8 | MIT | 1 week ago | |
| dcarbone/gotime | 0.86 | Go-inspired time utilities for PHP 8.1+: a Duration type (parse/format like 5s, JSON as nanoseconds) plus helpers to generate DateInterval specs for DateTime add/sub. Includes a Time wrapper around DateTime aiming for Go time.Time-style APIs. | 2 | 2 | 1 | 3K | 0 | 25.4 | 49.8 | MIT | 2 weeks ago | |
| baskooijmaninc/suzie | 0.86 | 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 | — | |
| brick/date-time | 0.86 | 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. | 363 | 366 | 36 | 176K | 19 | 27.9 | 49.7 | MIT | 6 months ago | |
| cocur/human-date | 0.86 | 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 | 4.8 | MIT | 12 years ago | |
| 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 | 173 | 0 | 0.2 | 10.5 | MIT | — | |
| 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 | 134 | 5 | 23.4 | 35.1 | MIT | 4 months ago | |
| assoconnect/php-date | 0.85 | — | 7 | 7 | 1 | 613 | 0 | 19.5 | 28.9 | MIT | 5 months ago | |
| sylius/calendar | 0.85 | Sylius Calendar Component provides date handling utilities for PHP applications. A lightweight package for working with dates and related calendar concerns in your project. | 9 | 9 | 8 | 53K | 1 | 1.1 | 51.4 | — | 3 years ago | |
| zf1/zend-date | 0.85 | Legacy Zend Framework 1 date/time utilities with parsing, formatting, locale-aware handling, and date calculations. Useful for maintaining older ZF1 apps or bridging to modern codebases that still depend on Zend_Date behavior. | 3 | 5 | 5 | 3K | 0 | 0.3 | 38.8 | BSD-3-Clause | — | |
| digital-craftsman/datetime-parts | 0.83 | 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.4 | 2.1 | MIT | 4 months ago | |
| knplabs/knp-time-bundle | 0.81 | — | 623 | 633 | 103 | 218K | 13 | 28.7 | 43.6 | MIT | 7 months ago |
How can I help you explore Laravel packages today?