PHPackages                             og-soft/php-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. og-soft/php-value-objects

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

og-soft/php-value-objects
=========================

Value objects for PHP

1.1.1(5y ago)01.1kMITPHPPHP &gt;=7.4

Since Mar 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/FandaOG/php-value-objects)[ Packagist](https://packagist.org/packages/og-soft/php-value-objects)[ RSS](/packages/og-soft-php-value-objects/feed)WikiDiscussions main Synced 3w ago

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

php-value-objects
=================

[](#php-value-objects)

PHP Value object for storing valid data.

Examples
========

[](#examples)

- check `tests` dir

TODO
====

[](#todo)

- add tests
- ignored attributes
- touched attributes
- interface
- Auto-generated OpenAPI
- Auto-generated TypeScripts objects
- yaml definition of ValueObjects
- parent (possibility to get parent object)

Changelog
=========

[](#changelog)

- 2021-02-26

    - ignored attributes
    - touch (`setTouched`, `isTouched`, `getTouchedAll`)
    - add interface `ValueObjectInterface`
    - remove trait
    - min request PHP 7.4
    - check null
    - root element
- 2021-03-17

    - added `setOriginalValue` and `getOriginalValue` methods for get original value from init

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

5

Last Release

1935d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/345747?v=4)[Pavel Novotný](/maintainers/Fanda)[@fanda](https://github.com/fanda)

---

Top Contributors

[![FandaOG](https://avatars.githubusercontent.com/u/61017336?v=4)](https://github.com/FandaOG "FandaOG (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/og-soft-php-value-objects/health.svg)

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

###  Alternatives

[illuminate/support

The Illuminate Support package.

630113.0M41.4k](/packages/illuminate-support)[spatie/holidays

Calculate public holidays

402860.1k2](/packages/spatie-holidays)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

293952.6k33](/packages/craftcms-feed-me)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k19](/packages/solspace-craft-freeform)[pimcore/data-importer

Adds a comprehensive import functionality to Pimcore Datahub

46855.5k5](/packages/pimcore-data-importer)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)

PHPackages © 2026

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