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

Abandoned → [sil-org/php-array-dot-notation](/?search=sil-org%2Fphp-array-dot-notation)Library

silinternational/php-array-dot-notation
=======================================

PHP library for using dot notation in arrays

0.2.0(1y ago)01.6kMITPHPPHP &gt;=5.4CI failing

Since Jun 3Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/sil-org/php-array-dot-notation)[ Packagist](https://packagist.org/packages/silinternational/php-array-dot-notation)[ RSS](/packages/silinternational-php-array-dot-notation/feed)WikiDiscussions main Synced 2mo 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

Popularity15

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/a5e188393958c4505bb06d9e79ed99a47d1cd42551142f02ef364d8268449ef8?d=identicon)[fillup](/maintainers/fillup)

![](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)

---

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/silinternational-php-array-dot-notation/health.svg)

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

PHPackages © 2026

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