smoke/zf2-cache-storage-redis-array 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

smoke/zf2-cache-storage-redis-array

Composer 安装命令:

composer require smoke/zf2-cache-storage-redis-array

包简介

RedisArray Cache Storage for Zend Framework 2

README 文档

README

Build Status

This is RedisArray Cache Storage Adapter component for ZF2 inspired by \Zend\Cache\Storage\Adapter\Redis

Installation

This module only officially supports installation through Composer. For Composer documentation, please refer to getcomposer.org.

You can install the module from command line:

$ php composer.phar require smoke/zf2-cache-storage-redis-array:1.0.*

Alternatively, you can also add manually the dependency in your composer.json file:

{
    "require": {
        "smoke/zf2-cache-storage-redis-array": "1.0.*"
    }
}

Configuration settings

In your config/autoload/redis-array.php put the following settings to define the servers_array:

return array(
    'caches' => array(
        'Cache\General' => array(
            'adapter' => array(
                'name' => '\Smoke\Cache\Storage\Adapter\RedisArray'
            ),
            'options' => array(
                'servers_array' => array(
                    array('host' => 'host1'/*, 'port' => 1234*/),
                    array('host' => 'host2')
                ),
                //'lazy_connect' => true,
                //'connect_timeout' => 15
            ),
        ),
    ),
);

For the rest of the ZF2 Cache Factory needed settings follow http://framework.zend.com/manual/2.3/en/modules/zend.cache.storage.adapter.html

LICENSE

The files in this archive are released under the MIT license. You can find a copy of this license in LICENSE.txt.

统计信息

  • 总下载量: 26.46k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-07-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固