bernard/redis-driver

Redis driver for Bernard

dev-master / 0.1.x-dev 2018-02-20 08:08 UTC

This package is auto-updated.

Last update: 2020-05-16 21:11:23 UTC


README

Latest Version

Redis driver for Bernard.

Install

Via Composer

$ composer require bernard/redis-driver

Usage

<?php

use Bernard\Driver\Redis\Driver;

$redis = new Redis();
$redis->connect('localhost', 6379);
$redis->setOption(Redis::OPT_PREFIX, 'bernard:');

$driver = new Driver($redis);

License

The MIT License (MIT). Please see License File for more information.