Libraries tagged by value objects
tiny-blocks/building-blocks
411 Downloads
Implements tactical DDD building blocks for PHP: entities, aggregate roots, domain events, snapshots, and upcasters.
somnambulist/domain
6462 Downloads
Provides a collection of entities, helpers and base implementations for creating domain objects.
simplon/helper
102289 Downloads
Helpers for recurring requirements
reallifekip/immutable-base
767 Downloads
Strict immutable DTOs, VOs, and SVOs for PHP 8.4+ with construction-time type validation, deep path mutation, and automatic validation chaining.
rasuvaeff/duration
3579 Downloads
Type-safe immutable duration value object for PHP
nepada/email-address-doctrine
12983 Downloads
Email address type for Doctrine.
milpa/command
32228 Downloads
The Command-as-atom core: the surface-agnostic Operation value object plus the CommandProvider and SurfaceProjector contracts. One operation, N surfaces.
kyzegs/laravel-eloquent-embeddables
1462 Downloads
Doctrine-like embeddables for Eloquent using Laravel's native custom cast system.
jessegall/php-types
5270 Downloads
Named typed constants and predicates — give meaning to magic literals like '', [], '{}', 0, true and null.
honeybee/trellis
6060 Downloads
Library for generating entities, that enforce data validity according to a specific schema.
fab2s/dt0
3118 Downloads
Immutable DTOs with bidirectional casting. No framework required. 8x faster than the alternative.
cline/strongly-typed-id
12632 Downloads
Strongly-typed ID value objects for PHP with support for UUID, ULID, NanoID, GUID, Sqid, Hashids and Laravel integration
cline/numerus
13120 Downloads
Immutable numeric value object with chainable arithmetic operations and Laravel Number formatting
cline/intl
16848 Downloads
Type-safe internationalization value objects and validation rules for Laravel applications including countries, currencies, locales, phone numbers, postal codes, and addresses
atldays/laravel-url
1159 Downloads
Laravel package for URL value objects, sanitization pipelines, browser URL support, validation rules, request macros, and Laravel Data integration.