This repo is used as a plugin of flarum. You can install it under flarum root directory with the command:
composer require zhishiq/flarum-redis
This plugin is supposed to be used as a basis by other plugins, it register illuminate/redis service provider with settings which can be set in flarum plugin backend.