PHPackages                             colindev/php-object-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. colindev/php-object-chain

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

colindev/php-object-chain
=========================

物件索引鍊

v0.0.2(10y ago)017MITPHPPHP &gt;= 5.3

Since Jul 8Pushed 9y ago1 watchersCompare

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

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

colin/object-chain
==================

[](#colinobject-chain)

php 物件/陣列 索引鍊

---

### install

[](#install)

設定依賴套件,並更新

```
    composer require colin/object-chain
    composer update
```

### test

[](#test)

執行單元測試

```

    phpunit
```

### sample

[](#sample)

```
use Colin\ObjectChain;

$data = new ObjectChain(json_decode('{"key":"hello","vary":{"depth":{"key":"found"}}}'));

$data->{'key'}->value();// return 'hello'
$data['key']->value();// return 'hello'

$data['vary']['depth']['key']->value();// return 'found'
$data['vary']['depth']['depth']['key']->value();// return null
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

4007d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/22b0425a5b48108d5aa970a9f115f73358b8257a578c0974677cc2587549196b?d=identicon)[colindev](/maintainers/colindev)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/colindev-php-object-chain/health.svg)

```
[![Health](https://phpackages.com/badges/colindev-php-object-chain/health.svg)](https://phpackages.com/packages/colindev-php-object-chain)
```

PHPackages © 2026

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