Setup Redis on Laravel project 💡

DECK
2 min readMar 17, 2022
DECK App

DECK has separate stacks for Laravel and Redis. So let’s look at how we can set it up quickly.

First, choose a stack for Laravel

You can select either Nginx-PHP or apache-PHP or Laravel stack, add details like project name, PHP version, and select project path.
Hit save, and now you are done with the Laravel project setup. 🌟

Second, choose the Redis stack

Enter a project name and hit save.

Redis stack

Start the Redis stack and open the Actions & Insights panel and check the Redis Host and Port, now you are ready to add environment variables in your Laravel project .env file, like REDIS_HOST, REDIS_PASSWORD, SESSION_DRIVER.🎉

Redis project

You can install Redis desktop manager [GUI client] like AnotherRedisDesktopManager to check session data, queues, etc. Just use Host and post from the “Connect using external applications” section.
So the moment of truth 🥳

Redis desktop manager [GUI client]

We will love to know your feedback about this quick setup 😊. Install DECK today 💜

--

--

DECK

Modern & extendable local web development studio