Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 823 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 823 Bytes

BasicRedis

This is a code piece that can ease the use of Redis with the help of Predis

Installation

You will need to install Composer following the instructions on their site.

Then, simply run the following command to install dependencies:

composer install

Then, create a dotenv file and enter and edit the below data.

USER_RETRY_LIMIT=10
USER_RETRY_TIMEOUT=60 # seconds

REDIS_NAME="master"
REDIS_HOST="127.0.0.1"
REDIS_PORT=6379

You are ready to use BasicRedis class.

Please visit examples/ folder to see the usage.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GNU GPLv3