Libraries tagged by ValueObject
phant/data-structure
6119 Downloads
Manage data structure easily
perfilov/php-dto-packer
2953 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.
leancaptain/money
181 Downloads
A small, framework-agnostic PHP money value object for safe monetary calculations.
frostealth/kronika
1091 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.
vdhicts/time
5018 Downloads
Time value-object with parser and collection and helpers for duration, rounding and ranges. Makes working with times easy.
spoorsny/laravel-south-african-id
1317 Downloads
Validation rules and an Eloquent Model attribute cast to value object encapsulating a South African government-issued personal identification number, for Laravel.
splitstack/readonly-models
104 Downloads
Block Eloquent persistence on read-only / value-object models.
kdyby/request-stack
29505 Downloads
Http Request stack service that wraps the Request value object for Nette Framework
intraworlds/enum
73609 Downloads
Lightweight implementation of enum value object
innis/coding-standards
197 Downloads
PHPStan rules that enforce the Innis coding conventions: clean-architecture layering, banned traits, interface/collection/exception placement, value-object immutability, and naming smells; plus a check that no tracked path component exceeds 95 characters.