PHPackages                             yadddl/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. yadddl/value-object

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

yadddl/value-object
===================

Yet another Value Object library

v0.8.0(2y ago)51.3k↑766.7%11MITPHPPHP &gt;=8.2

Since Dec 14Pushed 2y ago3 watchersCompare

[ Source](https://github.com/yadddl/value-object)[ Packagist](https://packagist.org/packages/yadddl/value-object)[ RSS](/packages/yadddl-value-object/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (6)Versions (9)Used By (1)

[![GitHub workflow](https://github.com/yadddl/value-object/actions/workflows/php.yml/badge.svg)](https://github.com/yadddl/value-object/actions/workflows/php.yml)

Yet Another DDD Library
=======================

[](#yet-another-ddd-library)

Value object
------------

[](#value-object)

This library is a foundation in order to implement the [Value Object pattern](https://martinfowler.com/bliki/ValueObject.html).

It helps you to introduce some DDD stuff in your projects without much effort but still in the right way. It provide yoi some basic and ready to use "primitives" and a simple serializer. It doesn't cover all the possibile use cases, then use it if you want, or contribute if you like what we are doing and want to expand it.

Usage
-----

[](#usage)

> Requires PHP 8

```
composer require yadddl/value-object

```

> NOT YET IN PACKAGIST, COMING SOON!

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

[](#documentation)

- [Core concepts](docs/core_concepts.md)
- [Getting Started](docs/getting_started.md)
- [Create your own value object](docs/create_your_own_value_object.md)
- [Primitives](docs/primitives.md)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.3% 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 ~96 days

Recently: every ~163 days

Total

8

Last Release

977d ago

PHP version history (2 changes)v0.5.0PHP &gt;=8.0

v0.6.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/10b75e2cb39cb0beafd94238c476a67ea60b23b102eb66d5068138a1114baa08?d=identicon)[cnastasi](/maintainers/cnastasi)

---

Top Contributors

[![cnastasi](https://avatars.githubusercontent.com/u/2204693?v=4)](https://github.com/cnastasi "cnastasi (18 commits)")[![fbertolotti](https://avatars.githubusercontent.com/u/173866?v=4)](https://github.com/fbertolotti "fbertolotti (5 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yadddl-value-object/health.svg)

```
[![Health](https://phpackages.com/badges/yadddl-value-object/health.svg)](https://phpackages.com/packages/yadddl-value-object)
```

###  Alternatives

[eliashaeussler/cache-warmup

Composer package to warm up website caches, based on a given XML sitemap

75419.2k9](/packages/eliashaeussler-cache-warmup)[integer-net/magento2-sansec-watch

Sansec Watch integration for Magento 2

40190.3k](/packages/integer-net-magento2-sansec-watch)[setono/editorjs-php

PHP library for handling data from the EditorJS

4259.2k3](/packages/setono-editorjs-php)[n1ebieski/ksef-php-client

PHP API client that allows you to interact with the API Krajowego Systemu e-Faktur

8754.6k](/packages/n1ebieski-ksef-php-client)[cpsit/project-builder

Composer package to create new projects from project templates

2538.4k2](/packages/cpsit-project-builder)[koalafacade/diamond-console

Laravel Package for generate DDD structure easily for your projects

641.5k](/packages/koalafacade-diamond-console)

PHPackages © 2026

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