So I just started to learn Redis and tried to install it for PHP using this link :- https://github.com/nrk/predis
I installed it via composer and then ran :-
require 'autoload.php';
$client = new Predis\Client(array('host' => "127.0.0.1", "port" => 6379, array("prefix" => "php:")));
$client->set("string:k", "something");
However, this generates error :-
Fatal error: Uncaught Error: Class 'Predis\Configuration\Options' not found in /Library/WebServer/Documents/redis/2/src/Client.php on line 74
Error: Class 'Predis\Configuration\Options' not found in /Library/WebServer/Documents/redis/2/src/Client.php on line 74
What is wrong here?