PHPackages                             cozy/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. cozy/value-objects

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

cozy/value-objects
==================

Collection of handy Value Objects

v0.1.1(5y ago)11.2k↓50%MITPHPPHP ^7.4|^8.0

Since Mar 8Pushed 2y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (6)Versions (3)Used By (0)

Cozy Value Objects
==================

[](#cozy-value-objects)

[![Author](https://camo.githubusercontent.com/35e5c3d7cde3424f90a30013f8697e5923a797be2137f3af53e6ad7ec9ee17cf/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d406e70696361646f2d626c75652e737667)](https://github.com/npicado)[![Packagist PHP Version Support](https://camo.githubusercontent.com/b75e07455ad7d21ed4e3bc9d4bc61434c55ca6c9d4aa60d46392c0b5391cef3a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636f7a792f76616c75652d6f626a65637473)](https://camo.githubusercontent.com/b75e07455ad7d21ed4e3bc9d4bc61434c55ca6c9d4aa60d46392c0b5391cef3a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636f7a792f76616c75652d6f626a65637473)[![Maintainability](https://camo.githubusercontent.com/f936cd0017c30d35a1fffe18330750cb19689f532933deeaf9516dbf78f79782/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f35333139656265653630653933373936313962372f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/cozyphp/value-objects/maintainability)[![Test Coverage](https://camo.githubusercontent.com/e08eed27db6bbce7abc915f29ef2ea4d1f433033eb2f39987015a4b1050c9b17/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f35333139656265653630653933373936313962372f746573745f636f766572616765)](https://codeclimate.com/github/cozyphp/value-objects/test_coverage)[![Build](https://github.com/cozyphp/value-objects/workflows/build/badge.svg)](https://github.com/cozyphp/value-objects/actions?query=workflow%3A%22build%22)[![Latest Stable Version](https://camo.githubusercontent.com/c30b9b8e605910c48710cb133f4339c4669b6491f616cfb3388c8f9c6612f3d9/68747470733a2f2f706f7365722e707567782e6f72672f636f7a792f76616c75652d6f626a656374732f76)](https://packagist.org/packages/cozy/value-objects)[![Software License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)

Collection of handy Value Object classes.

System Requirements
-------------------

[](#system-requirements)

You need **PHP &gt;= 7.4.0** but the latest stable version of PHP is recommended.

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

[](#installation)

Install using Composer:

```
$ composer require cozy/value-objects

```

Contributing
------------

[](#contributing)

Contributions are welcome and will be fully credited. Please see [CONTRIBUTING](.github/CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Nestor Picado](https://github.com/npicado)
- [All Contributors](https://github.com/thephpleague/period/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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 ~6 days

Total

2

Last Release

1891d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/145852955a1d7c1e2bb9f22179c9bfe7466158730e42dc370ae04a81266415c4?d=identicon)[npicado](/maintainers/npicado)

---

Top Contributors

[![npicado](https://avatars.githubusercontent.com/u/1474761?v=4)](https://github.com/npicado "npicado (23 commits)")

---

Tags

languagematrixphpvalue-objectlanguageValue ObjectmatrixValueObject

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/cozy-value-objects/health.svg)

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

###  Alternatives

[phpoption/phpoption

Option Type for PHP

2.7k541.2M159](/packages/phpoption-phpoption)[moneyphp/money

PHP implementation of Fowler's Money pattern

4.8k82.5M422](/packages/moneyphp-money)[markbaker/matrix

PHP Class for working with matrices

1.5k279.7M38](/packages/markbaker-matrix)[markrogoyski/math-php

Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra

2.4k7.1M40](/packages/markrogoyski-math-php)[patrickschur/language-detection

A language detection library for PHP. Detects the language from a given text string.

8513.2M18](/packages/patrickschur-language-detection)[wapmorgan/morphos

A morphological solution for Russian and English language written completely in PHP. Provides classes to inflect personal names, geographical names, decline and pluralize nouns, generate cardinal and ordinal numerals, spell out money amounts and time.

8351.3M7](/packages/wapmorgan-morphos)

PHPackages © 2026

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