PHPackages                             andydefer/php-vo - 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. andydefer/php-vo

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

andydefer/php-vo
================

A collection of reusable Value Objects and Enums for PHP applications (Email, Money, Address, PostalCode, Iso8601DateTime, Currency, etc.)

v0.13.3(1w ago)0386↑792.9%5MITPHPPHP &gt;=8.1

Since Jun 5Pushed 1w agoCompare

[ Source](https://github.com/andydefer/php-vo)[ Packagist](https://packagist.org/packages/andydefer/php-vo)[ RSS](/packages/andydefer-php-vo/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (24)Versions (30)Used By (5)

PHP Value Objects (PHP-VO)
==========================

[](#php-value-objects-php-vo)

Une collection de Value Objects et Enums réutilisables pour applications PHP 8.1+.

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

[](#installation)

```
composer require andydefer/php-vo
```

Prérequis
---------

[](#prérequis)

- PHP 8.1 ou supérieur
- `andydefer/domain-structures` ^1.3

Documentation
-------------

[](#documentation)

- [Value Objects](docs/api-reference/VALUE_OBJECTS.md)
- [Enums](docs/api-reference/ENUMS.md)

Exemple rapide
--------------

[](#exemple-rapide)

```
use AndyDefer\PhpVo\ValueObjects\MoneyVO;
use AndyDefer\PhpVo\ValueObjects\AmountVO;
use AndyDefer\PhpVo\Enums\Currency;

$money = new MoneyVO(AmountVO::from('99.99'), Currency::EUR);
echo $money->format(); // '99.99 €'
```

License
-------

[](#license)

MIT © [Andy Defer](https://github.com/andydefer)

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance98

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

29

Last Release

13d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2170ec3fbad9eb4b002661ab4f58b1cc374eae4293b92904c6a74bc2818bd570?d=identicon)[andydefer](/maintainers/andydefer)

---

Top Contributors

[![andydefer](https://avatars.githubusercontent.com/u/124321745?v=4)](https://github.com/andydefer "andydefer (34 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/andydefer-php-vo/health.svg)

```
[![Health](https://phpackages.com/badges/andydefer-php-vo/health.svg)](https://phpackages.com/packages/andydefer-php-vo)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
