PHPackages                             lucasantarella/array\_keys\_recursive - 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. lucasantarella/array\_keys\_recursive

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

lucasantarella/array\_keys\_recursive
=====================================

Library to get array keys of a multidimensional array, retaining the original array structure.

1.0.0(8y ago)32.0kAGPL-3.0+PHPCI failing

Since Nov 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/lucasantarella/php-array-keys-recursive)[ Packagist](https://packagist.org/packages/lucasantarella/array_keys_recursive)[ RSS](/packages/lucasantarella-array-keys-recursive/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Recursive PHP `array_keys()`!
=============================

[](#recursive-php-array_keys)

[![Build Status](https://camo.githubusercontent.com/13a3c2bd853340e919668c253e757bf86114b112f5de600e9ba0ae3fcfa11b57/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c75636173616e746172656c6c612f7068702d61727261792d6b6579732d7265637572736976652f6d61737465722e737667)](https://travis-ci.org/lucasantarella/php-array-keys-recursive)[![License](https://camo.githubusercontent.com/9d34ffe8c6bae10f825a8273d19351b77e7a120d1e693077f525f555343db65d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c75636173616e746172656c6c612f7068702d61727261792d6b6579732d7265637572736976652e737667)](https://camo.githubusercontent.com/9d34ffe8c6bae10f825a8273d19351b77e7a120d1e693077f525f555343db65d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c75636173616e746172656c6c612f7068702d61727261792d6b6579732d7265637572736976652e737667)[![Issues](https://camo.githubusercontent.com/0ca08ce8b39944e6151268a5e6d5026c0bd9b4ed139e00810899070ebb6efbbc/68747470733a2f2f696d672e736869656c64732e696f2f6269746275636b65742f6973737565732f6c75636173616e746172656c6c612f7068702d61727261792d6b6579732d7265637572736976652e737667)](https://camo.githubusercontent.com/0ca08ce8b39944e6151268a5e6d5026c0bd9b4ed139e00810899070ebb6efbbc/68747470733a2f2f696d672e736869656c64732e696f2f6269746275636b65742f6973737565732f6c75636173616e746172656c6c612f7068702d61727261792d6b6579732d7265637572736976652e737667)

Description
-----------

[](#description)

A simple library for getting the `array_keys()` of a multidimensional array.

Installation
------------

[](#installation)

#### Composer

[](#composer)

```
$ composer require lucasantarella/php-array-keys-recursive
```

Usage
-----

[](#usage)

```
