Skip to content

danielmadu/lara-kv-store

Repository files navigation

danielmadu/lara-kv-store

Total Downloads Latest Stable Version License

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

About

Lara KV Store is a simple in-memory key-value datastore for development purpose, implemented in PHP using Redis protocol.

Resources

License

Stars

Watchers

Forks

Packages

No packages published