Initial Setup In Lumen
- run composer install to install all the important packages, (can be viewed in composer.json).
- run composer dump-autoload.
- run php artisan migrate.
- Install PHPRedis a PHP extension for Redis from https://github.com/phpredis/phpredis.
- In config/database.php there are following configurations that can be configured for redis.
- host => IP Address of server where Redis is running.
- port => Port of server where Redis is running. (By default Redis run on 6379 port)
- database => Instance to use as database on Redis.