apie/date-value-objects
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| alexeyshockov/clock | 0.88 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| 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 | — | |
| dothiv/dothiv-valueobject-bundle | 0.85 | Symfony bundle providing a set of reusable value objects for Dothiv projects, aimed at consistent domain modeling and type-safe primitives. Includes common immutable objects and utilities to share across services and applications. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| 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 | |
| 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 | |
| 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. | 177 | 592 | 27 | 12M | 3 | 24.4 | 64.4 | MIT | 2 months ago | |
| jenssegers/date | 0.82 | — | 0 | 1,847 | — | 90K | — | 27.7 | 26.1 | — | — | |
| sylius/calendar | 0.79 | 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 | 48K | 1 | 1.1 | 50.8 | — | 3 years ago | |
| brick/date-time | 0.79 | 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 | |
| nicolopignatelli/valueobjects | 0.79 | Laravel-friendly PHP value objects library that helps you model domain concepts as immutable, self-validating objects (like Email, Money, Url, etc.). Encourages DDD patterns, clearer APIs, and safer data handling with consistent validation and comparison. | 0 | 430 | — | 0 | — | 0.0 | — | — | — | |
| apie/dateformat-to-regex | 0.78 | Converts PHP date() format strings into “simple” regular expressions for validating date/time strings. Generates regex that matches the format pattern (not full calendar validation, e.g., may accept 30 February). Includes a static DateFormatToRegex::formatToRegex() helper. | 0 | 0 | 0 | 24 | 0 | 0.0 | 19.3 | MIT | — | |
| cubicmushroom/valueobjects | 0.78 | A small PHP package providing lightweight Value Object classes to model immutable domain values (e.g., IDs, money, email, dates) with validation and type-safety. Useful for cleaner Laravel apps and DDD-style codebases. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| funeralzone/valueobjects | 0.78 | PHP 7.1+ value object toolkit for fundamental scalar-based VOs. Provides traits for strings/ints/etc, enums via constants, easy native serialization (fromNative/toNative), and encourages domain validation logic. Includes extension library for complex objects. | 66 | 66 | 7 | 18K | 2 | 6.3 | 33.7 | MIT | 5 years ago | |
| awd-studio/vo-date-time | 0.77 | 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 | |
| league/period | 0.76 | — | 0 | 752 | — | 125K | — | 21.6 | 32.5 | — | — | |
| apie/common-value-objects | 0.76 | Common value objects for the Apie ecosystem: ready-to-use PHP enums (e.g., Gender) and identifier base classes (e.g., UUID v4) for entities, fields, or composite value objects. Designed to be extended and used as examples in your own domain. | 0 | 0 | 0 | 24 | 0 | 0.0 | 19.3 | MIT | — | |
| php-standard-library/date-time | 0.76 | 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 | |
| digital-craftsman/datetime-parts | 0.74 | 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 | |
| apie/text-value-objects | 0.73 | — | 0 | 0 | 0 | 24 | 0 | 0.0 | 19.3 | MIT | — | |
| assoconnect/php-date | 0.72 | — | 7 | 7 | 1 | 293 | 0 | 21.3 | 24.4 | MIT | 3 months ago |
How can I help you explore Laravel packages today?