PHPackages                             sil-org/php-array-dot-notation - 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. sil-org/php-array-dot-notation

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

sil-org/php-array-dot-notation
==============================

PHP library for using dot notation in arrays

0.2.0(1y ago)0456MITPHPPHP &gt;=5.4CI failing

Since Jun 3Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/sil-org/php-array-dot-notation)[ Packagist](https://packagist.org/packages/sil-org/php-array-dot-notation)[ RSS](/packages/sil-org-php-array-dot-notation/feed)WikiDiscussions main Synced 1mo ago

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

Array Dot Notation for PHP
==========================

[](#array-dot-notation-for-php)

A utility to use dot notation in PHP arrays.

Setup
-----

[](#setup)

1. Clone this repo.
2. Copy `local.env.dist` to `local.env` and update GitHub.com token as appropriate.
3. Run `make test` to install dependencies and run PHPUnit tests.

### Makefile script

[](#makefile-script)

There is a Makefile in place to simplify common tasks.

- `make test` - does `composer install` and runs phpunit tests

---

### Class `DotNotation`

[](#class-dotnotation)

Util class containing a single method to collapse a multi-dimensional array into a single-dimensional array. Array keys are combined using a dot to separate levels of the array. For instance:

```
[
    'a' => [
        'x' => 'data1',
    ],
    'b' => 'data2',
]

```

will be collapsed to

```
[
    'a.x' => 'data1',
    'b' => 'data2',
]

```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance64

Regular maintenance activity

Popularity17

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

496d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/836739aa4f60c754dc9a4a547ebd0c166e4b6e855d9f119df2be5aec92f3a375?d=identicon)[forevermatt](/maintainers/forevermatt)

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

![](https://www.gravatar.com/avatar/5256eacae3564eb6d3e954abc6552ed99a6d948d94d2b07cc1dc9dabb0bce108?d=identicon)[jason-jackson](/maintainers/jason-jackson)

![](https://www.gravatar.com/avatar/1948ad6f3cf2b7f0b3ca357e8014830ceb955d79f8e13777288c6bd3ed1b8545?d=identicon)[Schparky](/maintainers/Schparky)

![](https://www.gravatar.com/avatar/4af996082efafeccd517cb8e86c671d40d492f2b7a2a0202aabf49153272ca3c?d=identicon)[devon-sil](/maintainers/devon-sil)

---

Top Contributors

[![briskt](https://avatars.githubusercontent.com/u/3172830?v=4)](https://github.com/briskt "briskt (7 commits)")[![jason-jackson](https://avatars.githubusercontent.com/u/35783387?v=4)](https://github.com/jason-jackson "jason-jackson (6 commits)")[![mtompset](https://avatars.githubusercontent.com/u/10937901?v=4)](https://github.com/mtompset "mtompset (3 commits)")[![forevermatt](https://avatars.githubusercontent.com/u/6233204?v=4)](https://github.com/forevermatt "forevermatt (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sil-org-php-array-dot-notation/health.svg)

```
[![Health](https://phpackages.com/badges/sil-org-php-array-dot-notation/health.svg)](https://phpackages.com/packages/sil-org-php-array-dot-notation)
```

###  Alternatives

[eden/core

Eden Core component full of secret sauce

14415.0k34](/packages/eden-core)

PHPackages © 2026

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