danielmadu / lara-kv-store
There is no license information available for the latest version (v1.0) of this package.
KV Store
v1.0
2025-03-24 23:43 UTC
Requires
- php: ^8.2
- clue/redis-protocol: ^0.3.2
- laravel/framework: ^11.31|^12.0
- react/socket: ^1.16
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"
License
MIT