PHPackages                             codin/dot - 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. codin/dot

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

codin/dot
=========

Dot Notation Array Access

0.1.3(4y ago)27.0k[1 issues](https://github.com/codin/dot-notation/issues)1MITPHPPHP &gt;=7.3CI failing

Since Aug 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/codin/dot-notation)[ Packagist](https://packagist.org/packages/codin/dot)[ RSS](/packages/codin-dot/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (1)

Dot Notation Array Access
=========================

[](#dot-notation-array-access)

[![version](https://camo.githubusercontent.com/78270e8876fb14cd2c20bc5a6212e0b4bda45eed159be0a041586ad4fecbcdb9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f636f64696e2f646f742d6e6f746174696f6e)](https://camo.githubusercontent.com/78270e8876fb14cd2c20bc5a6212e0b4bda45eed159be0a041586ad4fecbcdb9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f636f64696e2f646f742d6e6f746174696f6e)[![workflow](https://camo.githubusercontent.com/deadc2ec414361f9b9d0020f7d4c4ded86eba05eb43718860389dcdae7c0a789/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f636f64696e2f646f742d6e6f746174696f6e2f436f6d706f736572)](https://camo.githubusercontent.com/deadc2ec414361f9b9d0020f7d4c4ded86eba05eb43718860389dcdae7c0a789/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f636f64696e2f646f742d6e6f746174696f6e2f436f6d706f736572)[![license](https://camo.githubusercontent.com/4634790ed2c7cc52443e8f8ecb20bb42d76f822e8dcf6eb5268c946d08db12ea/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f64696e2f646f742d6e6f746174696f6e)](https://camo.githubusercontent.com/4634790ed2c7cc52443e8f8ecb20bb42d76f822e8dcf6eb5268c946d08db12ea/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f64696e2f646f742d6e6f746174696f6e)

Fetching array items by dot notation

```
$dot = new Codin\Dot(['foo' => ['bar' => 'baz']]);

$dot->get() // ['foo' => ['bar' => 'baz']]
$dot->get('foo') // ['bar' => 'baz']
$dot->get('foo.bar') // 'baz'
$dot->get('foo.bar.qux') // null
$dot->get('foo.bar.qux', 'hello') // 'hello'
```

```
$dot->set('foo.bar', 'qux');
$dot->get() // ['foo' => ['bar' => 'qux']]

$dot->set('foo.bar.baz', 'qux'); // throws DotException the value at the index is not an array and wont be converted.
// Instead store the value as an array to overwrite
$dot->set('foo.bar', ['baz' => 'qux']);
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

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

Total

4

Last Release

1556d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/codin-dot/health.svg)

```
[![Health](https://phpackages.com/badges/codin-dot/health.svg)](https://phpackages.com/packages/codin-dot)
```

PHPackages © 2026

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