elcoop/valuestore
最新稳定版本:1.0
Composer 安装命令:
composer require elcoop/valuestore
包简介
README 文档
README
El-Coop Valuestore - (based on spatie valuestore) Install - composer require elcoop/valuestore Docs: Create Valuestore: use ElCoop\Valuestore\Valuestore; $valuestore = new Valuestore($filename); // $filename has to be json, if the file doesnt exist one will be created. Get All Values: $all = $valuestore->all() // $all is a $key => $value array. Put New Value: $valuestre->put($name,$value); // $name has to be string. Get New Value: $value = $valuestore->get($name); // $name has to be string, if $name does not exists in settings file null will be returned - an additional $default // parameter can be given, returned in the case of $name not existing. Get All Values Starting With: $values = $valuestore->allStartingWith($string); // returns all values with names starting with $string, returns null if none exist.
统计信息
- 总下载量: 138
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-12-23