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

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

g4/value-object
===============

PHP value objects

4.1.2(2mo ago)675.5k↓50%129MITPHPPHP &gt;=8.0CI failing

Since May 12Pushed 2mo ago9 watchersCompare

[ Source](https://github.com/g4code/value-object)[ Packagist](https://packagist.org/packages/g4/value-object)[ RSS](/packages/g4-value-object/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (147)Used By (9)

value-object
============

[](#value-object)

> value-object - [php](http://php.net) library

[![Build Status](https://camo.githubusercontent.com/269e5ed331c365768b185581c300c2eaca48d1daf23c56048ccf21a43cd61f85/68747470733a2f2f7472617669732d63692e6f72672f6734636f64652f76616c75652d6f626a6563742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/g4code/value-object)

Install
-------

[](#install)

Via Composer

```
composer require g4/value-object
```

Usage
-----

[](#usage)

Development
-----------

[](#development)

### Install dependencies

[](#install-dependencies)

```
$ composer install

```

### Run tests

[](#run-tests)

```
$ make unit-tests

```

License
-------

[](#license)

(The MIT License) see LICENSE file for details...

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance83

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community32

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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

Recently: every ~67 days

Total

145

Last Release

87d ago

Major Versions

1.2.3 → 2.32.02018-02-28

2.43.4 → 3.0.02020-03-19

3.6.0 → 4.0.02023-10-27

3.6.1 → 4.0.32023-12-06

3.6.7 → 4.1.02026-02-11

PHP version history (2 changes)3.6.0PHP &gt;=5.6

4.0.1PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/12ceafbc629c3019d7cd78dfec322d694f44e0df8741bc6044f4acbf99964ff8?d=identicon)[g4code](/maintainers/g4code)

---

Top Contributors

[![gomboc](https://avatars.githubusercontent.com/u/1145653?v=4)](https://github.com/gomboc "gomboc (68 commits)")[![ppavlovic](https://avatars.githubusercontent.com/u/2664974?v=4)](https://github.com/ppavlovic "ppavlovic (42 commits)")[![sinisalackovic](https://avatars.githubusercontent.com/u/25299913?v=4)](https://github.com/sinisalackovic "sinisalackovic (33 commits)")[![vladan-zoricic](https://avatars.githubusercontent.com/u/195801?v=4)](https://github.com/vladan-zoricic "vladan-zoricic (25 commits)")[![sanjamedic](https://avatars.githubusercontent.com/u/13198949?v=4)](https://github.com/sanjamedic "sanjamedic (14 commits)")[![DarkGit](https://avatars.githubusercontent.com/u/10722199?v=4)](https://github.com/DarkGit "DarkGit (12 commits)")[![mirko-bukilic](https://avatars.githubusercontent.com/u/76707321?v=4)](https://github.com/mirko-bukilic "mirko-bukilic (8 commits)")[![UrosPurtic](https://avatars.githubusercontent.com/u/52161020?v=4)](https://github.com/UrosPurtic "UrosPurtic (8 commits)")[![ivankoni](https://avatars.githubusercontent.com/u/570997?v=4)](https://github.com/ivankoni "ivankoni (8 commits)")[![vesic](https://avatars.githubusercontent.com/u/14851810?v=4)](https://github.com/vesic "vesic (4 commits)")[![vb-c-plicity](https://avatars.githubusercontent.com/u/101137972?v=4)](https://github.com/vb-c-plicity "vb-c-plicity (4 commits)")[![danijel-bjelancevic](https://avatars.githubusercontent.com/u/14277342?v=4)](https://github.com/danijel-bjelancevic "danijel-bjelancevic (1 commits)")[![kuridza](https://avatars.githubusercontent.com/u/7287094?v=4)](https://github.com/kuridza "kuridza (1 commits)")[![NebojsaStanicCP](https://avatars.githubusercontent.com/u/59829717?v=4)](https://github.com/NebojsaStanicCP "NebojsaStanicCP (1 commits)")[![rankovic](https://avatars.githubusercontent.com/u/764713?v=4)](https://github.com/rankovic "rankovic (1 commits)")[![vladan-z](https://avatars.githubusercontent.com/u/49512718?v=4)](https://github.com/vladan-z "vladan-z (1 commits)")[![jopacicdev](https://avatars.githubusercontent.com/u/2921997?v=4)](https://github.com/jopacicdev "jopacicdev (1 commits)")

---

Tags

dddphpphp7value-object

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k74.6k86](/packages/pocketmine-pocketmine-mp)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[getdkan/dkan

DKAN Open Data Catalog

385135.4k2](/packages/getdkan-dkan)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[tomaj/hermes

Simple php background processing library

38251.0k5](/packages/tomaj-hermes)

PHPackages © 2026

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