PHPackages                             event-engine/php-data - 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. event-engine/php-data

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

event-engine/php-data
=====================

Immutable objects for Event Engine

v2.0.3(1y ago)20153.1k↓43.1%4[1 issues](https://github.com/event-engine/php-data/issues)5MITPHPPHP ^7.4 || ^8.0CI failing

Since Mar 20Pushed 1y ago2 watchersCompare

[ Source](https://github.com/event-engine/php-data)[ Packagist](https://packagist.org/packages/event-engine/php-data)[ Docs](https://event-engine.io/)[ RSS](/packages/event-engine-php-data/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (5)Versions (19)Used By (5)

EventEngine\\Data
=================

[](#eventenginedata)

[![Build Status](https://camo.githubusercontent.com/efc56f1285794ec34fa14c35732af5d52b32326ff007561997123db594229015/68747470733a2f2f7472617669732d63692e636f6d2f6576656e742d656e67696e652f7068702d646174612e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/event-engine/php-data)[![Coverage Status](https://camo.githubusercontent.com/8fd8a5fe4f908109fb80e9bc7bcc2197190125338ea5ee6238e575ca77f2a7cb/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6576656e742d656e67696e652f7068702d646174612f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/event-engine/php-data?branch=master)

Generate Immutable Objects with ease!

[![Value Object Template vo_string](https://camo.githubusercontent.com/efad1b5c43d01e0e7f08e11fec1d2928a9ed984aa9cb3a8c347df31a95abce0c/68747470733a2f2f6576656e742d656e67696e652e696f2f6170692f696d672f766f5f737472696e672e676966)](https://camo.githubusercontent.com/efad1b5c43d01e0e7f08e11fec1d2928a9ed984aa9cb3a8c347df31a95abce0c/68747470733a2f2f6576656e742d656e67696e652e696f2f6170692f696d672f766f5f737472696e672e676966)

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

[](#installation)

```
composer require event-engine/php-data
```

Versions
--------

[](#versions)

- 1.x uses method return type hints to detect ImmutableRecord property types
    - Use this version in PHP 7.2 - PHP 7.3 environments
- 2.x makes use of PHP 7.4 property type hints
    - Use this version in &gt;= PHP 7.4 environments

PHPStorm Templates
------------------

[](#phpstorm-templates)

The `EventEngine\Data` package contains a set of live templates specifically designed to work together with the `EventEngine\Data\ImmutableRecord`.

You can import the templates by following official [PHPStorm instructions](https://www.jetbrains.com/help/phpstorm/sharing-live-templates.html).

Please find the `settings.zip` [here](https://github.com/event-engine/php-data/blob/master/.env/PHPStorm/settings.zip).

Usage
-----

[](#usage)

Usage is described in the [documentation](https://event-engine.io/api/immutable_state.html)

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~152 days

Recently: every ~413 days

Total

15

Last Release

509d ago

Major Versions

v0.1.2 → v1.02019-12-17

v1.0 → v2.0-beta.12020-02-18

v1.1.0 → v2.0-beta.52020-07-08

PHP version history (3 changes)v0.1.0PHP ^7.2

v2.0-beta.1PHP ^7.4

v2.0.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e14a3b6de25e60cb289c51b23c58ffd8c56b28053deb4a75d3b7ea6b7fa03809?d=identicon)[proophsoftware](/maintainers/proophsoftware)

---

Top Contributors

[![arnedesmedt](https://avatars.githubusercontent.com/u/5807162?v=4)](https://github.com/arnedesmedt "arnedesmedt (6 commits)")[![sandrokeil](https://avatars.githubusercontent.com/u/3597436?v=4)](https://github.com/sandrokeil "sandrokeil (2 commits)")[![jsor](https://avatars.githubusercontent.com/u/55574?v=4)](https://github.com/jsor "jsor (1 commits)")[![zluiten](https://avatars.githubusercontent.com/u/1336070?v=4)](https://github.com/zluiten "zluiten (1 commits)")

---

Tags

event-engineimmutable-objectsphp7prooph

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/event-engine-php-data/health.svg)

```
[![Health](https://phpackages.com/badges/event-engine-php-data/health.svg)](https://phpackages.com/packages/event-engine-php-data)
```

###  Alternatives

[abbotton/ios-png-parser

A PHP-based tool for parsing IOS application icons in IPA files

2016.8k1](/packages/abbotton-ios-png-parser)

PHPackages © 2026

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