Libraries tagged by object value
xakepehok/enum-helper
10497 Downloads
Enum Helper with switch-case alternative and more
ufo-tech/dto-transformer
2592 Downloads
The library provides tools for two-way transformation of DTO objects ⇄ arrays, respecting typing, contracts, and flexible transformation logic.
tiny-blocks/math
22848 Downloads
Arbitrary-precision numbers for PHP, where arithmetic is exact and rounding is explicit.
talred/forge
344 Downloads
Domain layer foundation for PHP 8.2+ providing Value Objects with attribute-based validation, Entities, Aggregates, Rules, Specifications, Policies, Invariants, Transformers, and a framework-agnostic adapter system.
spoorsny/south-african-id
1554 Downloads
A self-validating value object encapsulating a South African government-issued personal identification number.
reallifekip/immutable-base
772 Downloads
Strict immutable DTOs, VOs, and SVOs for PHP 8.4+ with construction-time type validation, deep path mutation, and automatic validation chaining.
puzzle/uuid
41427 Downloads
Uuid as value object
proai/laravel-struct
2346 Downloads
A Laravel package for using structs with Laravel including attribute casting.
polysource/core
838 Downloads
Polysource Admin — core contracts and value objects. Pure PHP, zero Symfony dependency.
pixelfederation/doctrine-generic-types-bundle
261 Downloads
Map value-object hierarchies to Doctrine DBAL types in Symfony applications.
php-dto/uri
3130 Downloads
Immutable uri object with validation and helpful methods
phil/url
107 Downloads
Web addresses for PHP: absolute http and https addresses normalised, kinds of address as enums that each carry their rule, international kinds included, and the kind of an address detected among enum sets
phil/resource
97 Downloads
Point at any record of your application by its kind and identifier, such as page:42, so a trash, a tag or a schedule can refer to it without knowing its class.
phil/recurrence
38 Downloads
Repeating dates from an iCalendar (RFC 5545) rule: read it, check it, write it, and list its occurrences in their time zone, with exceptions.
phil/money
33 Downloads
Handle money without rounding errors: exact integer amounts in a known currency, parsed and printed to its precision, split without ever losing a cent.