title: Laravel Redis::scan in Cluster mode
body: <p>I have recently switched to using Redis in cluster mode using AWS ElastiCache and my laravel vapor application has started to throw <code>NotSupportedException: Cannot use 'SCAN' with redis-cluster.</code> crash messages. I'm using <code>predis</code> and here is the code causing this issue:</p>
  <p><code>$keys = Redis::scan(0, 'match', $pattern);</code></p>
  <p>Here is my database.php config for redis:</p>
  <pre><code>'redis' =&gt; [
      'cluster' =&gt; true,
      'client' =&gt; env('REDIS_CLIENT', 'predis'),
      'options' =&gt; [
          'cluster' =&gt; env('REDIS_CLUSTER','redis'),
      ],
      'clusters' =&gt; [
              'sessions' =&gt; [
                  [
                  'host' =&gt; env('SESSIONS_REDIS_HOST', 'redis'),
                  'password' =&gt; env('REDIS_PASSWORD', null),
                  'port' =&gt; env('REDIS_PORT', 6379),
                  'database' =&gt; env('REDIS_CACHE_DB', 1),
                  ]
              ],
          'default' =&gt; [
              [
              'host' =&gt; env('REDIS_HOST', 'redis'),
              'password' =&gt; env('REDIS_PASSWORD', null),
              'port' =&gt; env('REDIS_PORT', 6379),
              'database' =&gt; env('REDIS_DB', 0),
              ]
          ],
          'cache' =&gt; [
              [
              'scheme' =&gt; env('REDIS_SCHEME', 'tcp'),
              'host' =&gt; env('REDIS_HOST', 'redis'),
              'password' =&gt; env('REDIS_PASSWORD', null),
              'port' =&gt; env('REDIS_PORT', 6379),
              'database' =&gt; env('REDIS_CACHE_DB', 1),
              ]
          ],
          'options' =&gt; [
              'cluster' =&gt; 'redis'
          ]
      ]
  ]
  </code></pre>
  <p>Is there a way I can use scan in cluster mode or a work around to scan all keys without too much performance hit? Thanks</p>