Follow

Follow
Setup Redis on Laravel project 💡

Setup Redis on Laravel project 💡

DECK's photo
DECK
·Mar 17, 2022·

1 min read

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. Screenshot 2022-03-18 at 1.44.40 AM.png

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.🎉 SCR-20220318-2e8.png

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 🥳 SCR-20220318-289.png

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

 
Share this