divineomega/json-key-value-store
最新稳定版本:v4.0.0
Composer 安装命令:
composer require divineomega/json-key-value-store
包简介
A simple JSON based key value store
README 文档
README
A simple JSON based key value store.
Installation
This JSON Key Value Store package can be easily installed using Composer. Just run the following command from the root of your project.
composer require jord-jd/json-key-value-store
If you have never used the Composer dependency manager before, head to the Composer website for more information on how to get started.
Usage
Using the JSON Key Value Store is designed to be super simple.
Here is a basic usage example:
use JordJD\JsonKeyValueStore\JsonKeyValueStore; $store = new JsonKeyValueStore('store.json.gz'); $store->set('key1', 'value123'); $store->set('key2', 'value456'); $store->delete('key2'); $value = $store->get('key1'); // $value = 'value123'
统计信息
- 总下载量: 233.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-only
- 更新时间: 2018-05-04