Skip to content

Latest commit

 

History

History

Predis

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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 project is licensed under the MIT License.