PHPackages                             biera/array-accessor - 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. biera/array-accessor

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

biera/array-accessor
====================

utils for accessing object's graph with ease

v1.0.1(4y ago)124.9kMITPHPPHP &gt;=7.4

Since Jan 31Pushed 4y ago1 watchersCompare

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

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

biera / array-accessor
======================

[](#biera--array-accessor)

Tiny lib which lets you access object graph with ease.

### usage

[](#usage)

Just `use Biera\ArrayAccessor` trait. Don't forget to make your class `implements \ArrayAcccess` interface.

```
use ArrayAccess;
use Biera\ArrayAccessor;

class User implements ArrayAccess
{
    use ArrayAccessor;

    private Address $address;
    ...

    public function getAddress(): Address
    {
        return $this->address;
    }
    ...
}

class Address implements ArrayAccess
{
    use ArrayAccessor;

    private string $street;
    private string $zipCode;
    ...

    public function getZipCode(): string
    {
        return $this->zipCode;
    }
    ...
}

...

/** @var User $user */
assert($user['address']['zipCode'] ==  $user->getAddress()->getZipCode());
```

### installation

[](#installation)

The lib is distributed as composer package.

```
composer req biera/array-accessor
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Total

2

Last Release

1649d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/biera-array-accessor/health.svg)

```
[![Health](https://phpackages.com/badges/biera-array-accessor/health.svg)](https://phpackages.com/packages/biera-array-accessor)
```

###  Alternatives

[blinq/synth

This is my package synth

28014.4k](/packages/blinq-synth)

PHPackages © 2026

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