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

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

norse-blue/value-objects
========================

PHP Value Objects is a PHP library that implements the value object technique and lets you create your own value objects with the scaffolding already laid out for you.

3.0.0(4y ago)2235↓80%11MITPHPPHP ^8.0CI failing

Since Aug 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/norse-blue/php-value-objects)[ Packagist](https://packagist.org/packages/norse-blue/value-objects)[ Docs](https://norse.blue/open-source/php-value-objects)[ Fund](https://www.buymeacoffee.com/axelitus)[ GitHub Sponsors](https://github.com/axelitus)[ RSS](/packages/norse-blue-value-objects/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (5)Versions (5)Used By (1)

PHP Value Objects
=================

[](#php-value-objects)

 [![Stable Release](https://camo.githubusercontent.com/a3755eb48aef59989324b9746ba1c3a2392592a32eac3b183a0575af328a34ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f7273652d626c75652f76616c75652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d356538316163)](https://packagist.org/packages/norse-blue/value-objects) [![Build Status](https://camo.githubusercontent.com/5fada2be99b82f6bcaea34cf172e2db5f3c9a45881be6eb35436ae7b275a6ee4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f6e6f7273652d626c75652f7068702d76616c75652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d6275696c64266c6f676f3d7472617669732d6369266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d383863306430)](https://travis-ci.com/norse-blue/php-value-objects) [![PHP Version](https://camo.githubusercontent.com/ca25bf65f673e8769141b5e8730f3dfc6fe86e3de1221ce0c5f592d6cb0d2ebe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6e6f7273652d626c75652f76616c75652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d706870266c6f676f3d706870266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d623438656164)](https://php.net/releases) [![Maintainability](https://camo.githubusercontent.com/8f9c71390eb4af46c92a4895420b9ed0a6110f594bc21db427b8d093a33de493/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f6e6f7273652d626c75652f7068702d76616c75652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d6d61696e7461696e6162696c697479266c6f676f3d636f64652d636c696d617465266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d383863306430)](https://codeclimate.com/github/norse-blue/php-value-objects) [![Test Coverage](https://camo.githubusercontent.com/3481f88ef151110a12d9781f9d079f7f7322979f09366d0d29ef3ce0ba4b8e67/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f636f7665726167652f6e6f7273652d626c75652f7068702d76616c75652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d636f766572616765266c6f676f3d636f64652d636c696d617465266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d383863306430)](https://codeclimate.com/github/norse-blue/php-value-objects) [![Total Downloads](https://camo.githubusercontent.com/7db916ca1ae4767285fcf12e4b690f351aaa3a1a6d6eaeee0192290265710121/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f7273652d626c75652f76616c75652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d646f776e6c6f616473266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d383863306430)](https://packagist.org/packages/norse-blue/value-objects) [![License](https://camo.githubusercontent.com/6503ce4a63a59e36b374132b95098478846b3e0bd93f7d519d197206e68496c7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6f7273652d626c75652f7068702d76616c75652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d6c6963656e7365266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d613362653863)](https://github.com/norse-blue/php-value-objects/blob/master/LICENSE.md)

---

**PHP Value Objects** is a PHP library that implements the value object technique and lets you create your own value objects with the scaffolding already laid out for you.

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

[](#installation)

> Requirements:
>
> - [PHP 7.4+](https://php.net/releases)

Install this package using Composer:

```
composer require norse-blue/value-objects
```

Usage
-----

[](#usage)

To get more in-depth knowledge about this package, please refer to the [Official Documentation](https://norse-blue.github.io/php-value-objects/).

Changelog
---------

[](#changelog)

Please refer to the [CHANGELOG.md](CHANGELOG.md) file for more information about what has changed recently.

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

[](#contributing)

Contributions to this project are accepted and encouraged. Please read the [CONTRIBUTING.md](.github/CONTRIBUTING.md) file for details on contributions.

Credits
-------

[](#credits)

- [Axel Pardemann](https://github.com/axelitus)
- [All Contributors](../../contributors)

Security
--------

[](#security)

Please review our [security policy](https://github.com/norse-blue/php-value-objects/security/policy) to know how to report security vulnerabilities within this package.

Support the development
-----------------------

[](#support-the-development)

**Do you like this project? Support it by donating**

[![Buy me a coffee](docs/assets/images/buy-me-a-coffee.svg)](https://www.buymeacoffee.com/axelitus)

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT](LICENSE.md) license.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 97.6% 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 ~381 days

Total

3

Last Release

1713d ago

Major Versions

1.0.0 → 2.0.02020-05-07

2.0.0 → 3.0.02021-09-03

PHP version history (3 changes)1.0.0PHP ^7.3

2.0.0PHP ^7.4

3.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/61386558d4fa03cc9de21d20e76f396d5568e0e647e1cdf18f12c87f1a5f87b5?d=identicon)[axelitus](/maintainers/axelitus)

![](https://www.gravatar.com/avatar/848678ae5df09575d50a2817e573c114ab2255eeb9593b6c9de741fe4f8d0f64?d=identicon)[NorseBlue](/maintainers/NorseBlue)

---

Top Contributors

[![axelitus](https://avatars.githubusercontent.com/u/732441?v=4)](https://github.com/axelitus "axelitus (41 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

objectsvalue

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[ilya/belt

A handful of tools for PHP developers.

71020.8k1](/packages/ilya-belt)[minwork/array

Pack of advanced array functions specifically tailored for: associative (assoc) array, multidimensional array, array of objects and handling nested array elements

66256.1k5](/packages/minwork-array)[acquia/mc-cs-plugin-custom-objects

This plugin adds custom objects feature.

4713.7k](/packages/acquia-mc-cs-plugin-custom-objects)[brysem/phpenums

Enums made simple in PHP.

10171.5k](/packages/brysem-phpenums)[jaybizzle/hasmeta

Access model meta data as if it was a property on your model

291.9k](/packages/jaybizzle-hasmeta)[space48/auto-value

Generated immutable value classes for PHP7.1+

291.6k](/packages/space48-auto-value)

PHPackages © 2026

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