bernard/predis-driver

Predis driver for Bernard

dev-master / 0.1.x-dev 2018-02-19 17:35 UTC

This package is auto-updated.

Last update: 2024-11-17 06:22:20 UTC


README

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.