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

ActiveLibrary

lum/lum-data
============

Data Objects - objects with multiple data formats

v1.1.0(2y ago)0332MITPHP

Since Jul 19Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (2)

lum.data.php
============

[](#lumdataphp)

Summary
-------

[](#summary)

Implements a bunch of magic *data objects* that I've been using for a long time as they were designed to convert between various serialization formats mostly transparently.

Namespace
---------

[](#namespace)

`Lum\Data`

### Classes

[](#classes)

NameDescriptionLum\\Data\\OA *very minimal* base class for *data objects*.Lum\\Data\\ObjDefault base class with *most* traits added.Lum\\Data\\ArrayishAn extension of `Obj` using `Arraylike` trait.Lum\\Data\\ContainerAn extension of `Arrayish` with indexed children.### Traits

[](#traits)

NameDescriptionLum\\Data\\ArraylikeA trait for array-like data objects.Lum\\Data\\DetectTypeA trait with helpers for detecting input type.Lum\\Data\\JSONA trait for objects with JSON representations.Lum\\Data\\BuildXMLA trait with helpers for building XML data.Lum\\Data\\InputXMLA trait for data objects that can import XML.Lum\\Data\\OutputXMLA trait for data objects that can output XML.Official URLs
-------------

[](#official-urls)

This library can be found in two places:

- [Github](https://github.com/supernovus/lum.data.php)
- [Packageist](https://packagist.org/packages/lum/lum-data)

Authors
-------

[](#authors)

- Timothy Totten

License
-------

[](#license)

[MIT](https://spdx.org/licenses/MIT.html)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Total

2

Last Release

936d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ff04349507190155013e4a94a8b14860a7ac57afce4ba97961c7c79bd023dd7?d=identicon)[supernovus](/maintainers/supernovus)

### Embed Badge

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

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

PHPackages © 2026

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