happydemon/arr
Composer 安装命令:
composer require happydemon/arr
包简介
A Kohana module that adds extra methods for dealing with arrays and configuration files
README 文档
README
This module adds extra functionality to Kohana for arrays and configuration.
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
- Export a configuration set to a file
Session
- Retrieve a value stored in session the same way as Arr::path() does
##Instalation
Place the files in your modules directory.
As a Git submodule:
git clone git://github.com/happyDemon/arr.git modules/arr
As a Composer dependency
{ "require": { "php": ">=5.4.0", "composer/installers": "*", "happyDemon/arr":"*" } }
Activate the module in bootstrap.php.
<?php Kohana::modules(array( ... 'arr' => MODPATH.'arr', ));
Documentation
The code is mostly commented, a userguide is on its way
统计信息
- 总下载量: 48
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2013-05-30