PHPackages                             clean/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. clean/data

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

clean/data
==========

Set of classes for keeping data (entity, collection)

2.3.1(6y ago)433.5k21MITPHPPHP &gt;=5.5.0CI failing

Since Jul 10Pushed 6y ago2 watchersCompare

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

READMEChangelogDependencies (3)Versions (13)Used By (1)

Clean\\Data
===========

[](#cleandata)

[![Build Status](https://camo.githubusercontent.com/7972add500080f0b7df2b3737d69455a1bcd444c66a5bf3a4adc01ca73484e12/68747470733a2f2f7472617669732d63692e6f72672f636c65616e2f646174612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/clean/data)[![Code Climate](https://camo.githubusercontent.com/47a4c8146ca6fd540b0a87b66e4b645467bd004f76b7e8f1a3da8b6adc2baf01/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f636c65616e2f646174612f6261646765732f6770612e737667)](https://codeclimate.com/github/clean/data)[![Test Coverage](https://camo.githubusercontent.com/8561c6df8f11da4efa8198ff1eb8823cc0cce3b94e49c26b3b2db4d2001df544/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f636c65616e2f646174612f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/clean/data/coverage)[![Issue Count](https://camo.githubusercontent.com/52a3872e0bb3edcfe0f94f8038ddeafb21acabd0fc2dc21eee7025f98f588bac/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f636c65616e2f646174612f6261646765732f69737375655f636f756e742e737667)](https://codeclimate.com/github/clean/data)[![Latest Stable Version](https://camo.githubusercontent.com/666e933b803a3f887f486df8a50a49cc9a2ac4dac5468de9c6d27cc6bd705292/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e2f646174612f762f737461626c65)](https://packagist.org/packages/clean/data)[![Total Downloads](https://camo.githubusercontent.com/e86568c724c4358f8ab57b7917dfbab286de69b41448173fbab7b2471faea7d8/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e2f646174612f646f776e6c6f616473)](https://packagist.org/packages/clean/data)[![License](https://camo.githubusercontent.com/d15875b21966c173bd96d3e375c264312debc5547887afe60b01f19d998d1b26/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e2f646174612f6c6963656e7365)](https://packagist.org/packages/clean/data)

Set of classes for holding data (entity, collection)

- Entity Is extension of PHP stdClass
- Collection extends PHP ArrayIterator funtionallity

Check out [documentation](docs/README.md) for more details.

### Clean\\Data with Clean\\Repository

[](#cleandata-with-cleanrepository)

`Clean\Data` is independent package but it has been created especially for `Clean\Repository` needs as it really simplify the way of creating entity models.

Please take a look at [Chinook Database Repository Example](https://github.com/clean/repository/tree/master/example/chinook) example code base to see it in action.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 98.7% 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 ~146 days

Recently: every ~321 days

Total

12

Last Release

2356d ago

Major Versions

0.1.0 → 1.0.0-beta2015-07-14

1.0.0 → 2.0.02015-07-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/21d3fe3ceb74869ffa1dd2ca9aac14d6df3e9e4209cfa8ed9c602875d590959b?d=identicon)[romannowicki](/maintainers/romannowicki)

---

Top Contributors

[![peengle](https://avatars.githubusercontent.com/u/305179?v=4)](https://github.com/peengle "peengle (78 commits)")[![jdprojectDev](https://avatars.githubusercontent.com/u/7472478?v=4)](https://github.com/jdprojectDev "jdprojectDev (1 commits)")

---

Tags

datacollectionentity

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/clean-data/health.svg)

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

###  Alternatives

[fakerphp/faker

Faker is a PHP library that generates fake data for you.

4.0k358.5M3.5k](/packages/fakerphp-faker)[dflydev/dot-access-data

Given a deep data structure, access data by dot notation.

720359.1M86](/packages/dflydev-dot-access-data)[graze/data-structure

Data collections and containers

12287.4k8](/packages/graze-data-structure)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)[michaels/data-manager

Simple data manager for nested data, dot notation array access, extendability, and container interoperability.

121.9k2](/packages/michaels-data-manager)

PHPackages © 2026

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