PHPackages                             happydemon/arr - 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. happydemon/arr

ActiveKohana-module[Utility &amp; Helpers](/categories/utility)

happydemon/arr
==============

A Kohana module that adds extra methods for dealing with arrays and configuration files

1.0.1(12y ago)6482[1 issues](https://github.com/happyDemon/arr/issues)1MITPHPPHP &gt;=5.4.0

Since May 30Pushed 12y ago2 watchersCompare

[ Source](https://github.com/happyDemon/arr)[ Packagist](https://packagist.org/packages/happydemon/arr)[ Docs](https://github.com/happyDemon/arr)[ RSS](/packages/happydemon-arr/feed)WikiDiscussions master Synced 4w ago

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

hD.arr
======

[](#hdarr)

This module adds extra functionality to Kohana for arrays and configuration.

Arrays
------

[](#arrays)

- Place a value at a specific point in your array
- Place or move a key with a value at a specific point in your array
- Flatten an array (keys become paths to the original)
- Unset a value based on a path
- Partition an array

Config
------

[](#config)

- Export a configuration set to a file

Session
-------

[](#session)

- Retrieve a value stored in session the same way as Arr::path() does

\##Instalation

### Place the files in your modules directory.

[](#place-the-files-in-your-modules-directory)

#### As a Git submodule:

[](#as-a-git-submodule)

```
git clone git://github.com/happyDemon/arr.git modules/arr
```

#### As a [Composer dependency](http://getcomposer.org)

[](#as-a-composer-dependency)

```
{
	"require": {
		"php": ">=5.4.0",
		"composer/installers": "*",
		"happyDemon/arr":"*"
	}
}
```

### Activate the module in `bootstrap.php`.

[](#activate-the-module-in-bootstrapphp)

```
