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

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

rde/data-chain
==============

structure data

v0.1(10y ago)031MITPHPPHP &gt;= 5.3

Since Jul 9Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

DataChain
=========

[](#datachain)

Purpose
-------

[](#purpose)

Making data structural and easy to use.

Usage
-----

[](#usage)

First instantiate DataChain with your data as a argument. Your data can be array, object, string, etc.

```
use Rde\DataChain;

$yourData = array(
    'a' => 'test',
    'b' => array(
        'c' => 'end'
    )
);

$dataChain = new DataChain($yourData);

// get dataChain object
$dataChain->a;

// get value of a, this will get 'test'
$dataChain->a->value();

// get multi layer value, this will get 'end'
$dataChain->b->c->value();

// When the key is not set, it will return dataChain object
$dataChain->a->d;

// When get the value of non-existent key will return null
$dataChain->a->d->value();

```

###  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

 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

Unknown

Total

1

Last Release

3967d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4aa2e196dc0845dbbaac031ed317c9d36bb921ff5a8e6634c12c3be1ccf24142?d=identicon)[benjaminchen](/maintainers/benjaminchen)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[alicfeng/identity-card

IdentityCard Library

1228.5k](/packages/alicfeng-identity-card)[johndoh/sauserprefs

Control SpamAssassin settings from within Roundcube

583.6k](/packages/johndoh-sauserprefs)

PHPackages © 2026

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