PHPackages                             manelpm10/php-value-objects - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. manelpm10/php-value-objects

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

manelpm10/php-value-objects
===========================

A PHP library of immutable objects classes.

v3.0.0(4mo ago)21152[1 PRs](https://github.com/manelpm10/php-value-objects/pulls)MITPHPPHP &gt;=8.1CI failing

Since Oct 13Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/manelpm10/php-value-objects)[ Packagist](https://packagist.org/packages/manelpm10/php-value-objects)[ RSS](/packages/manelpm10-php-value-objects/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (7)Dependencies (4)Versions (17)Used By (0)

ValueObjects
============

[](#valueobjects)

A PHP library of immutable objects classes. You can take a look to Wikipedia to have more information about what [value objects](https://en.wikipedia.org/wiki/Value_object) are.

Installation
------------

[](#installation)

For install using composer you can run:

`$ composer require manelpm10/php-value-objects`

Or add to your composer.json file:

```
{
    "require": {
        "manelpm10/php-value-objects": "~2.0"
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/manelpm10/php-value-objects"
        }
    ]
}

```

How to use?
-----------

[](#how-to-use)

A basic usage of the Value Objects library is:

```
