I installed redis by
composer require predis/predis
then I changed my config/queue.php like this:
'default' => env('QUEUE_DRIVER', 'redis'),
however when I try to use redis:
use Illuminate\Support\Facades\Redis;
Redis::connection();
I get this error :
FatalErrorException in Database.php line 63: Class 'Predis\Client' not found
Edit:
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?
What can be the problem? I use laravel 5.0 thanks,,