matthiasnoback/doctrine-orm-value-object
A Doctrine ORM integration for mapping PHP value objects as embeddables, with support for custom types and conversion between value objects and database columns. It helps keep domain models free of ORM concerns while persisting rich value objects transparently.
laravel-doctrine/orm), wants value objects persisted without per-type custom code, and is willing to pin Doctrine versions deliberately.CastsAttributes / custom casts or AsArrayObject/AsEnumCollection instead; this package solves a problem you don't have.readonly classes with custom casts, or a small in-house DBAL type if you only have one or two value objects.How can I help you explore Laravel packages today?