rollerworks/cache-bundle 问题修复 & 功能扩展

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

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

rollerworks/cache-bundle

最新稳定版本:v1.2.0

Composer 安装命令:

composer require rollerworks/cache-bundle

包简介

Symfony integration bundle for Rollerworks Session Cache

README 文档

README

SensioLabsInsight Build Status

This bundle integrates the Rollerworks Cache Component in your Symfony application.

The Rollerworks Cache component provides a Session based cache-driver for Doctrine Common. (Cache data is stored in a session).

Installation

The RollerworksCacheBundle uses Composer to manage its dependencies.

If you don't have Composer yet, download it following the instructions on http://getcomposer.org/

Then add the rollerworks/cache-bundle package to your composer.json with:

$ composer require "rollerworks/cache-bundle"

Now, Composer will automatically download all required files, and install them for you. All that is left to do is to update your AppKernel.php file, and register the new bundle:

<?php

// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new Rollerworks\Bundle\CacheBundle\RollerworksCacheBundle(),
    // ...
);

Configure the bundle

The bundle is comes pre-configured, ready for usage. But for clarity, add the following to your config file:

# app/config/config.yml

rollerworks_cache:
    session:
        # Storage key that used for storing the session
        storage_key: _rollerworks_cache

        # Session-bag name
        bag_name: cache

Congratulations! You're ready!

You can get the session-storage Cache-Driver service with
"rollerworks_cache.driver.session_driver".

Resources

This Component is released under MIT license.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-11-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固