randock/value-object
A PHP library from Randock for defining immutable value objects, helping encapsulate domain primitives like IDs, emails, and money in reusable, type-safe classes with validation and Laravel-friendly integration.
randock/value-object is a lightweight PHP package that streamlines building immutable value objects for your domain model. It removes boilerplate around construction, equality checks, property access, and serialization, so classes like money, emails, or identifiers stay clean, type-safe, and predictable.
How can I help you explore Laravel packages today?