Libraries tagged by value objects
perfilov/php-dto-packer
2961 Downloads
Blazing-fast PHP library to convert arrays, JSON & objects into strongly typed DTOs (and back)
net-code/laravel-domain
214 Downloads
DDD tactical building blocks (aggregate root, value objects, domain events, typed UUID identifiers, business-rule specification) with optional Laravel integration.
mediagone/types-common-doctrine
3880 Downloads
Provides Doctrine types for mediagone/types-common package.
mediagone/types-common
4381 Downloads
A collection of generic Value Objects you should (always) use instead of primitive types!
mediagone/types-collections
2368 Downloads
Provides full-featured collections for primitive types, and generic classes to build your own strongly-typed collections. Each collection has chainable methods to perform traversal, filter and projection operations (similar to Microsoft's LINQ-like features).
leancaptain/money
196 Downloads
A small, framework-agnostic PHP money value object for safe monetary calculations.
hradigital/php-datatypes
944 Downloads
Easy way to build up and sanitize your application objects.
helvetitec/money
2067 Downloads
PHP implementation of Fowler's Money pattern
gentle/embeddables
5225 Downloads
Small collection of value objects.
frostealth/kronika
1100 Downloads
DateTime value objects such as Date, Time, LocalDateTime, etc.
diego-ninja/granite
978 Downloads
A lightweight zero-dependency PHP library for building immutable, serializable objects with validation capabilities.
awd-studio/vo-optional-php
373 Downloads
Type-safe Optional value object for PHP 8.4+. A robust implementation of the Optional pattern inspired by Java, providing elegant null-safety and functional programming capabilities.
amashukov/toncenter-client-php
393 Downloads
Typed toncenter v2 HTTP client for The Open Network — {ok, result} envelope unwrapping, retry-aware via any PSR-18 client, typed Value Objects (masterchain info, account state, run-get-method stack reader, transactions). Pluggable wallet RPC adapter.
zolta/forge
732 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.
sorciulus/simple-factory
5103 Downloads
This library generate object from class name