title: Class 'Predis\Client' not found in Laravel
body: <p>I installed redis by </p>
  
  <pre><code>composer require  predis/predis
  </code></pre>
  
  <p>then I changed my config/queue.php like this:</p>
  
  <pre><code>'default' =&gt; env('QUEUE_DRIVER', 'redis'),
  </code></pre>
  
  <p>however when I try to use redis:</p>
  
  <pre><code>use Illuminate\Support\Facades\Redis;
  Redis::connection();
  </code></pre>
  
  <p>I get this error : </p>
  
  <blockquote>
    <p>FatalErrorException in Database.php line 63: Class 'Predis\Client' not
    found</p>
  </blockquote>
  
  <p>Edit:</p>
  
  <p>Actually I installed Redis on local host and I uploaded only 'vendor' folder to server. Can it be because of, while installation is there any other file created except from in "vendor" folder?</p>
  
  <p>What can be the problem? I use laravel 5.0
  thanks,,</p>