PHPackages                             rapidwebltd/array\_undot - 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. rapidwebltd/array\_undot

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

rapidwebltd/array\_undot
========================

array\_undot (the opposite of the array\_dot helper function) expands a dot notation array into a full multi-dimensional array.

v1.0.1(8y ago)1513.8k↓34.6%12LGPL-3.0-onlyPHP

Since Jan 12Pushed 8y ago2 watchersCompare

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

READMEChangelog (2)Dependencies (2)Versions (3)Used By (2)

array\_undot
============

[](#array_undot)

[![Build Status](https://camo.githubusercontent.com/aa2325abf2699bc959a9f99b349c04de770dd0215ccd09a3c7067023dfc498f2/68747470733a2f2f7472617669732d63692e6f72672f446976696e654f6d6567612f61727261795f756e646f742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/DivineOmega/array_undot)[![Coverage Status](https://camo.githubusercontent.com/ae232481c8f92b9a3c96c682ece0cef65f147858a5acbe9ec8c6acbe0a46a024/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f446976696e654f6d6567612f61727261795f756e646f742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/DivineOmega/array_undot?branch=master)[![StyleCI](https://camo.githubusercontent.com/7fa572302bc0a84f28823d3fe730632fcda0f1a6da76bc278dd49c4bb4d01306/68747470733a2f2f7374796c6563692e696f2f7265706f732f3133303336343831302f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/130364810)[![Packagist](https://camo.githubusercontent.com/1610ac55f0e69c5e1f5a4bfbce7778acdeb5219f7d55566833d871be4f8d13f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f446976696e654f6d6567612f61727261795f756e646f742e737667)](https://camo.githubusercontent.com/1610ac55f0e69c5e1f5a4bfbce7778acdeb5219f7d55566833d871be4f8d13f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f446976696e654f6d6567612f61727261795f756e646f742e737667)

This package provides a helper function called `array_undot`, which expands a dot notation array into a full multi-dimensional array. It is, therefore, the opposite of the `array_dot` helper function provided by Laravel.

Installation
============

[](#installation)

To install, just run the following composer command.

```
composer require rapidwebltd/array_undot

```

The `array_undot` helper function will then be available globally in your project.

Usage
=====

[](#usage)

The following basic examples show how to use the `array_undot` helper function.

```
$dotNotationArray = ['products.desk.price' => 100];

$expanded = array_undot($dotNotationArray)

// ['products' => ['desk' => ['price' => 100]]];
```

```
$dotNotationArray = ['products.desk.price' => 100,
                     'products.desk.name' => 'Oak Desk',
                     'products.lamp.price' => 15,
                     'products.lamp.name' => 'Red Lamp'];

$expanded = array_undot($dotNotationArray)

/*
[
    'products' => [
        'desk' => [
            'price' => 100,
            'name' => 'Oak Desk'
        ],
        'lamp' => [
            'price' => 15,
            'name' => 'Red Lamp'
        ]
    ]
]
*/
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

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

Every ~12 days

Total

2

Last Release

3036d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c580cdf7c14898fff179cdfc1085892091d5d2f49d917873a12365af9ac77c93?d=identicon)[Jord-JD](/maintainers/Jord-JD)

---

Top Contributors

[![Jord-JD](https://avatars.githubusercontent.com/u/650645?v=4)](https://github.com/Jord-JD "Jord-JD (3 commits)")

---

Tags

arraydot-notationhelper-functionslaravelphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rapidwebltd-array-undot/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

20917.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9346.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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