cache/cache-bundle

Symfony 2 bundle providing integration between PSR-6 compliant cache services and the framework. It supports cache for sessions, routing and Doctrine

1.0.3 2017-10-19 18:06 UTC

README

Latest Stable Version codecov.io Build Status Total Downloads Monthly Downloads Quality Score SensioLabsInsight Software License

This is a Symfony bundle that lets you you integrate your PSR-6 compliant cache service with the framework. It lets you cache your sessions, routes and Doctrine results and metadata. It also provides an integration with the debug toolbar. This bundle does not contain any pool implementation nor does it help you register cache pool services. You maybe interested in AdapterBundle which will help you configure and register PSR-6 cache pools as services.

This bundle is a part of the PHP Cache organisation. To read about features like tagging and hierarchy support please read the shared documentation at www.php-cache.com.

To Install

Run the following in your project root, assuming you have composer set up for your project

composer require cache/cache-bundle

Add the bundle to app/AppKernel.php

$bundles(
    // ...
    new Cache\CacheBundle\CacheBundle(),
    // ...
);

Read the documentation at www.php-cache.com/symfony/cache-bundle.

Contribute

Contributions are very welcome! Send a pull request or report any issues you find on the issue tracker.