Libraries tagged by immutable object
guennichi/mapper
15493 Downloads
A lightweight library to map array data to PHP immutable objects
cultuurnet/valueobjects
48054 Downloads
A PHP library/collection of classes aimed to help developers using and understanding immutable objects.
pollora/option
9120 Downloads
A modern PHP package for WordPress option management with validation and immutable value objects
koriym/file-upload
148672 Downloads
Type-safe file upload handling with immutable value objects
deefour/transformer
54552 Downloads
Transform raw input data into consistent, immutable PHP objects
roundly-consulting/money-for-laravel
635 Downloads
Immutable arbitrary-precision Money and Currency value objects for Laravel: ISO 4217 + custom currencies, exact decimal parsing, rounding-safe arithmetic and allocation, locale formatting, Eloquent casts and schema macros, validation, discounts, tax, and pluggable exchange rates (array, database, ECB).
ericpoe/haystack
30137 Downloads
Forget Haystack vs Needle order, the object IS the Haystack. Haystack is a library that allows for pipelining and immutable structures.
arnedesmedt/json-immutable-objects
25496 Downloads
Immutable objects with a json schema
tiny-blocks/value-object
24320 Downloads
Defines the default behavior contract for PHP value objects with structural equality.
rmezhuev/data-transfer-object
13733 Downloads
Plain and simple immutable DTO pattern implementation based on php annotations
reallifekip/immutable-base
756 Downloads
Strict immutable DTOs, VOs, and SVOs for PHP 8.4+ with construction-time type validation, deep path mutation, and automatic validation chaining.
jaxon-php/jaxon-config
2780 Downloads
Save config options in immutable objects.
tiny-blocks/time
884 Downloads
Models time as immutable value objects for PHP: instants, durations, periods, timezones, and time-of-day, all UTC-normalized.
diego-ninja/granite
986 Downloads
A lightweight zero-dependency PHP library for building immutable, serializable objects with validation capabilities.
rasuvaeff/duration
3189 Downloads
Type-safe immutable duration value object for PHP