Lara KV Store is a simple in-memory key-value datastore for development purpose, implemented in PHP using Redis protocol.
The following list of commands are implemented:
- GET
- SET
- SETEX
- INCRBY
- DECRBY
- DEL
- FLUSHDB
- PING
Once installed, you can start the server by running the follow command inside your project:
$ php artisan kv:startYou may install Lara KV Store using the Composer package manager:
$ composer require danielmadu/lara-kv-storeBy 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"To access the debug dashboard that you can visualize all the keys stored you may access via /kvstore route.
MIT