Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
redis-connection.php
<?php
require_once 'vendor/autoload.php';
$client = new Predis\Client([
/* ... */
]);
$client->set('foo', 'bar');
$value = $client->get('foo');
echo "worked? $value"
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment