Libraries tagged by php value objects
granam/float
30776 Downloads
Converter and wrapping object for a float value
tystr/redis-orm
492 Downloads
A simple PHP object mapper to assist in persisting objects in Redis and indexing them for efficient searching and filtering.
rubix/tensor_ext
527 Downloads
A PHP extension that provides objects for scientific computing in PHP.
granam/number
31605 Downloads
Converter and wrapping object for a number (float or integer) value
php-value-object/date-time-range
4812 Downloads
DateTimeRange value object
php-standard-library/ip
4626 Downloads
Immutable, binary-backed value object for IPv4 and IPv6 addresses with parsing, classification, and comparison
teamchallengeapps/distance
9904 Downloads
PHP Distance (Value Object) Helper
mnavarrocarter/chilean-rut
10663 Downloads
PHP Rut Value Object with validation utilities, doctrine type, and other cool features.
andydefer/domain-structures
5109 Downloads
A complete domain structures package for PHP: Records, Value Objects, Data DTOs, and TypedCollections. Brings type safety and clean architecture to your application.
katsana/my-identification
10611 Downloads
Identification (Malaysia) Value Object for PHP
pollora/option
3044 Downloads
A modern PHP package for WordPress option management with validation and immutable value objects
eram/abzar
1710 Downloads
Zero-runtime-dependency Persian (Farsi) toolkit for PHP 8.1+: validators for national ID, legal ID, bank card, Sheba/IBAN, phone, postal code, bill ID and license plate; Toman/Rial money with an Amount value object; formatters (number to words and back, ordinals, time-ago); text tools (slug, script detection, character normalization, ZWNJ half-space, keyboard-layout fix) and digit conversion.
eboreum/caster
9200 Downloads
Cast any PHP value to a sensible, human readable string. Great for type-safe outputs, exception messages, transparency during debugging, and similar things. Also helps avoiding innate problems such as printing endless, circular referencing objects (endless recursion), limits the output for large arrays and long strings, and prevents (opt-in) the outputting of sensitive strings like passwords.
wiz-develop/php-value-object
5779 Downloads
📦 The PHP Value Object library offers immutable, type-safe, and self-validating objects to model domain values using the Value Object pattern.
makeabledk/php-value-objects
1979 Downloads