This module contains adds extra functionality to Kohana containing arrays and configuration.
- 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)
- Unset a value based on a path
- Export a configuration set
##Instalation
git clone git://github.com/happyDemon/arr.git modules/arr
As a Composer dependency
{
"require": {
"php": ">=5.4.0",
"composer/installers": "*",
"happyDemon/arr":"*"
}
}
<?php
Kohana::modules(array(
...
'arr' => MODPATH.'arr',
));
The code is mostly commented, a userguide is on its way