skip to Main Content

Php versions – Class 'Redis' not found in Lumen

Lumen Version: 6.0 PHP Version: 7.2 Database Driver & Version: MySql 5.7, Redis Code use IlluminateSupportFacadesRedis; Redis::set($key, $data, 'EX', $expiry); in app.php $app->withFacades(); $app->withEloquent(); $app->register(IlluminateRedisRedisServiceProvider::class); $app->configure('database'); Using the above code gives Class 'Redis' not found error. This error occurs only…

VIEW QUESTION
Back To Top
Search