PHPackages                             ytake/valueobjects - 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. ytake/valueobjects

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

ytake/valueobjects
==================

A PHP library/collection of classes aimed to help developers using and undestanding immutable objects.(temporary package)

2.1.0(5y ago)6086.2k↓100%7[2 PRs](https://github.com/ytake/valueobjects/pulls)MITPHPPHP &gt;=7.0CI failing

Since Apr 19Pushed 4y ago3 watchersCompare

[ Source](https://github.com/ytake/valueobjects)[ Packagist](https://packagist.org/packages/ytake/valueobjects)[ RSS](/packages/ytake-valueobjects/feed)WikiDiscussions main Synced 1mo ago

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

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

[](#valueobjects)

[![Build Status](https://camo.githubusercontent.com/ea2dc8af3d639297ae3d5517123261def7c5906ee2cb53e79085a2f9bd035f90/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f7974616b652f76616c75656f626a656374732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ytake/valueobjects)[![Coverage Status](https://camo.githubusercontent.com/25c26fe415d1b88a87e2e9a648776a7fa7e98dd409e567c312651c58f0410b84/687474703a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f7974616b652f76616c75656f626a656374732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/ytake/valueobjects?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/de416425032ae19d6cadc59436e01ed338caff03a591354c33437b90c9969746/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7974616b652f76616c75656f626a656374732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ytake/valueobjects/?branch=master)

[![License](https://camo.githubusercontent.com/c675c85e83040729d761cdfeeec761c4b8cfa916023263e82d60bd296f2b4106/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7974616b652f76616c75656f626a656374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ytake/valueobjects)[![Latest Version](https://camo.githubusercontent.com/a74866850763d3bb17834e8a48ebb3519857acb00738b7c1b58d26dd7a1137f5/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7974616b652f76616c75656f626a656374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ytake/valueobjects)[![Total Downloads](https://camo.githubusercontent.com/2d71f9c626274bd3e90dc77b0957825da4cc807acfc152fa4cebd149253b2a39/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7974616b652f76616c75656f626a656374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ytake/valueobjects)[![StyleCI](https://camo.githubusercontent.com/740f26069e770fb455d5a6a5d0b1813edb6386288db98ea18f0e4d6d7a937fb0/68747470733a2f2f7374796c6563692e696f2f7265706f732f38383735303133362f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/88750136)

[![Codacy Badge](https://camo.githubusercontent.com/2b629f54f91a92f23d0e081a9306f63d5714fc49f4459d195e3032a3bd8bd5d9/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f33613364376432653463666234393762393131333136623631636332616139352e7376673f7374796c653d666c61742d737175617265)](https://www.codacy.com/app/yuuki-takezawaOrganization/valueobjects?utm_source=github.com&utm_medium=referral&utm_content=ytake/valueobjects&utm_campaign=Badge_Grade)[![SensioLabsInsight](https://camo.githubusercontent.com/797ae35ae3112045e87676e0be6d60aeb08d92cca7323f8f776d909a9407f3cc/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f34313465396538662d343835342d343362342d386339382d3564323438653830336262332f6d696e692e706e67)](https://insight.sensiolabs.com/projects/414e9e8f-4854-43b4-8c98-5d248e803bb3)

A PHP library/collection of classes aimed to help developers using and undestanding immutable objects.

This is fork of the educational package nicolopignatelli/valueobjects that aims to provide more functionality for basic tasks and act as a object oriented wrapper for PHP types.

Install
=======

[](#install)

required &gt;= PHP 7.0

```
$ composer require ytake/valueobjects
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 70% 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 ~404 days

Total

4

Last Release

2094d ago

Major Versions

1.0.1 → 2.0.02018-06-30

PHP version history (2 changes)1.0.1PHP &gt;=5.4

2.0.0PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/47817f3dd2890864096bd77ee772ec46061432f128988ca23939b0ca486d7bc3?d=identicon)[ytake](/maintainers/ytake)

---

Top Contributors

[![ytake](https://avatars.githubusercontent.com/u/4454078?v=4)](https://github.com/ytake "ytake (7 commits)")[![addiks](https://avatars.githubusercontent.com/u/3450330?v=4)](https://github.com/addiks "addiks (2 commits)")[![kubotak-is](https://avatars.githubusercontent.com/u/13742370?v=4)](https://github.com/kubotak-is "kubotak-is (1 commits)")

---

Tags

dddphpvalueobjectValue ObjectvoarchitectureDomain Driven Design

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ytake-valueobjects/health.svg)

```
[![Health](https://phpackages.com/badges/ytake-valueobjects/health.svg)](https://phpackages.com/packages/ytake-valueobjects)
```

###  Alternatives

[moneyphp/money

PHP implementation of Fowler's Money pattern

4.8k82.5M421](/packages/moneyphp-money)[phpmentors/domain-kata

Kata for domain models

73426.9k9](/packages/phpmentors-domain-kata)[adsmurai/currency

A small library to handle currencies and money values

4542.1k](/packages/adsmurai-currency)

PHPackages © 2026

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