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

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

aeviiq/value-object
===================

A library that provides strict value objects in PHP.

v1.0.1(2y ago)419.3k4MITPHPPHP ^8.1

Since Feb 17Pushed 2y ago2 watchersCompare

[ Source](https://github.com/aeviiq/value-object)[ Packagist](https://packagist.org/packages/aeviiq/value-object)[ Docs](https://github.com/aeviiq/value-object)[ RSS](/packages/aeviiq-value-object/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (10)Versions (11)Used By (0)

Aeviiq PHP Value Object
=======================

[](#aeviiq-php-value-object)

Why
---

[](#why)

To provide an easy way to create value objects in PHP. Validation can be done by using the Symfony Validator component ( and its documentation ). This also allows for easy integration with the Symfony Form component, as the value object constraints are defined statically.

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

[](#installation)

```
composer require aeviiq/value-object

```

Declaration
-----------

[](#declaration)

```
