From 665dfc4328daeabaa496ac6a0743476348657585 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Thu, 22 Aug 2019 15:22:14 +0200 Subject: [PATCH] [6.0] Use phpredis as default Redis client (#5085) * Use phpredis as default Redis client Follow up for https://github.com/laravel/framework/pull/29688 It's best that we already start using `phpredis` as a default to discourage usage of Predis. * Update database.php --- config/database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/database.php b/config/database.php index 921769ca..199382d0 100644 --- a/config/database.php +++ b/config/database.php @@ -119,10 +119,10 @@ 'redis' => [ - 'client' => env('REDIS_CLIENT', 'predis'), + 'client' => env('REDIS_CLIENT', 'phpredis'), 'options' => [ - 'cluster' => env('REDIS_CLUSTER', 'predis'), + 'cluster' => env('REDIS_CLUSTER', 'redis'), 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'), ],