bernard / redis-driver
Redis driver for Bernard
dev-master / 0.1.x-dev
2018-02-20 08:08 UTC
Requires
- php: ^5.6 || ^7.0
- ext-redis: *
- bernard/bernard: dev-master
Requires (Dev)
- phpunit/phpunit: ^5.7 || ^6.0 || ^7.0
This package is auto-updated.
Last update: 2024-11-17 07:12:40 UTC
README
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.