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

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

mduk/dot
========

1.0.0(10y ago)017PHP

Since Jul 28Pushed 9y ago1 watchersCompare

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

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

Dot
===

[](#dot)

Just a little something to make working with config arrays easier.

Example
-------

[](#example)

```
$config = [
  'a' => [
    'b' => [
      'c' => [
        'd' => 'e!'
      ]
    ]
  ]
];

$dot = new Mduk\Dot( $config );

// Fetch a particular key
$dot->get( 'a.b.c.d' ); // 'e!'

// Set a key with dot notation
$dot->set( 'a.b.c.e', 'f!' );

// Fetch a key further up to get lower keys as a deep array
$dot->get( 'a.b.c' ); // [ 'd' => 'e!', 'e' => 'f!' ]

// Creating child keys of a key will overwrite any previously set value
$dot->set( 'a.b.c.d.e', 'g?' );

$dot->get( 'a.b.c' ); // [ 'd' => [ 'e' => 'g?' ], 'e' => 'f!' ]

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3946d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/24e9837f98c90466722d283e78ef10cd5feeb1194282fa076ea542c3ef647af4?d=identicon)[mduk](/maintainers/mduk)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[letudiant/composer-shared-package-plugin

This composer plugin allows you to share selected packages between your projects with symlinks.

16450.9k1](/packages/letudiant-composer-shared-package-plugin)[tpoxa/shortcodes

Wordpress style shorttags support for Yii2

2313.5k](/packages/tpoxa-shortcodes)

PHPackages © 2026

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