Laravel - Redis - Using Multiple Redis Connections

Your application's config/database.php configuration file allows you to define multiple Redis connections / servers. You may obtain a connection to a specific Redis connection using the Redis facade's connection method:

    
    $redis = Redis::connection('connection-name');
	

To obtain an instance of the default Redis connection, you may call the connection method without any additional arguments:

    
    $redis = Redis::connection();