Skip to content

php-cache/cache-bundle

Repository files navigation

PSR-6 Cache bundle

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.