danielmadu/lara-kv-store
最新稳定版本:v1.2.0
Composer 安装命令:
composer require danielmadu/lara-kv-store
包简介
KV Store
README 文档
README
Lara KV Store is a simple in-memory key-value datastore for development purpose, implemented in PHP using Redis protocol.
Introduction
Supported commands
The following list of commands are implemented:
- GET
- SET
- SETEX
- INCRBY
- DECRBY
- DEL
- FLUSHDB
- PING
Quickstart example
Once installed, you can start the server by running the follow command inside your project:
$ php artisan kv:start
Install
You may install Lara KV Store using the Composer package manager:
$ composer require danielmadu/lara-kv-store
By default, the Lara KV Store will be started at 0.0.0.0:6379, to change the host and the port you should publish
the Lara KV Store configuration using the vendor:publish Artisan command:
$ php artisan vendor:publish --provider="DanielMadu\LaraKvStore\KVStoreServiceProvider"
Debug Dashboard
To access the debug dashboard that you can visualize all the keys stored you may access via /kvstore route.
License
MIT
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-03-22