承接 mgleis/php-sqlite-key-value-store 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mgleis/php-sqlite-key-value-store

最新稳定版本:1.0.1

Composer 安装命令:

composer require mgleis/php-sqlite-key-value-store

包简介

A PHP library that implements a key/value store with SQLite as the persistence layer.

README 文档

README

A PHP library that implements a key/value store with SQLite as the persistence layer.

Use it for small projects / prototypes with at most hundreds or thousands of values.

Install

composer require mgleis/php-sqlite-key-value-store

Usage

$kv = new KeyValueStore();

Set a Key

$kv->set('key', 'value');

Get a Value by Key

$value = $kv->get('key');

Check if a key exists

$exists = $kv->has('key');

Delete by Key

$kv->delete('key');

Search by Value

$arr = $kv->searchValueStartsWith('text');
$arr = $kv->searchValueContains('text');

Search by Key

$arr = $kv->searchKeyStartsWith('text');
$arr = $kv->searchKeyContains('text');

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2024-12-04