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)1514.3k↓71.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 2w ago

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

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

[](#array_undot)

Warning

This package is retired and no longer maintained. Use [`jord-jd/array_undot`](https://packagist.org/packages/jord-jd/array_undot) instead. The maintained successor supports current PHP versions and preserves the `array_undot()` API.

[![Packagist](https://camo.githubusercontent.com/61e14da4f0a29d7410e2b76fe3e60f270d55d63ab1c668b834e023f248a698f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72617069647765626c74642f61727261795f756e646f742e737667)](https://camo.githubusercontent.com/61e14da4f0a29d7410e2b76fe3e60f270d55d63ab1c668b834e023f248a698f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72617069647765626c74642f61727261795f756e646f742e737667)

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 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

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

3127d 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

[illuminate/pagination

The Illuminate Pagination package.

12234.6M1.1k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9350.2M310](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.8M410](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

224.7M146](/packages/illuminate-cookie)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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