When you set up a new Laravel application to use Redis as a cache driver or broadcast driver, you may encounter the following error:
Error:-
Laravel: Class "Redis" Not Found Error
Solution:-
Just go to .env and put below code
REDIS_CLIENT=predis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379