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 today

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 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

1879d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/44e506c08062b165a9e96f2657a13a9f0921d53b015dd74ad9532c797c90e8a0?d=identicon)[Fanda](/maintainers/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

[ashallendesign/short-url

A Laravel package for creating shortened URLs for your web apps.

1.4k1.9M4](/packages/ashallendesign-short-url)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

106106.2k](/packages/whitecube-laravel-timezones)[intervention/zodiac

Zodiac Sign Calculator

58191.7k](/packages/intervention-zodiac)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[solspace/craft-calendar

The most powerful event management and calendaring plugin!

1830.8k1](/packages/solspace-craft-calendar)

PHPackages © 2026

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