Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 623 Bytes

README.md

File metadata and controls

38 lines (23 loc) · 623 Bytes

Predis driver

Latest Version

Redis driver for Bernard.

Install

Via Composer

$ composer require bernard/predis-driver

Usage

<?php

use Bernard\Driver\Predis\Driver;
use Predis\Client;

$predis = new Client(
    'tcp://localhost',
    [
        'prefix' => 'bernard:',
    ]
);

$driver = new Driver($redis);

License

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