dreamaker/seek
Composer 安装命令:
composer require dreamaker/seek
包简介
this package helps handle array activities, creating, accessing, pushing, pulling items in and array
README 文档
README
Table of Contents
Install
To install the Seeker
first download via composer by running the command composer require dreamaker\seek
if you do not have composer you could just clone this repo
after download
Then include or into your project directory and put this at the top of you class or file
use Dreamaker\Seeker\Seek;
Documentation
Seek::add(&$array, $key, $value)
This will add an item to an array using the "dot" notation if it doesn't exist.
Seek::accessible($value)
This will determine whether the given value is array accessible.
Seek::has($array, $keys)
This will check if an item or items exist in an array using "dot" notation
Seek::exists($array, $key);
This will determine if the given key exists in the provided array.
Seek::set(&$array, $key, $value)
This will set an array item to a given value using "dot" notation.
License
Seeker is free software distributed under the terms of the MIT license.
Contribution guidelines
Please report any issue you find in the issues page.
Pull requests are welcome.
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-13