PHPackages                             matthiasnoback/doctrine-orm-value-object - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. matthiasnoback/doctrine-orm-value-object

ActiveLibrary[Database &amp; ORM](/categories/database)

matthiasnoback/doctrine-orm-value-object
========================================

Introduces value objects to Doctrine ORM

19251[1 issues](https://github.com/matthiasnoback/doctrine-orm-value-object/issues)PHP

Since Dec 28Pushed 12y ago3 watchersCompare

[ Source](https://github.com/matthiasnoback/doctrine-orm-value-object)[ Packagist](https://packagist.org/packages/matthiasnoback/doctrine-orm-value-object)[ RSS](/packages/matthiasnoback-doctrine-orm-value-object/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Value objects for Doctrine ORM
==============================

[](#value-objects-for-doctrine-orm)

[![Build Status](https://camo.githubusercontent.com/99ce44fd6d46b0fe702a7757d096d913e1db29675969b0b821d7f941e83fa8c3/68747470733a2f2f7472617669732d63692e6f72672f6d617474686961736e6f6261636b2f646f637472696e652d6f726d2d76616c75652d6f626a6563742e706e67)](https://travis-ci.org/matthiasnoback/doctrine-orm-value-object)

**WARNING: this library is not ready for production yet**

This library provides the tools for working with value objects and Doctrine entities.

This is the way you could persist a `PhoneNumber` value object as a field of a `Person` entity using the `ValueObject` annotation:

```
