Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

PSR-6 Cache bundle

Latest Stable Version 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

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

    // ...
    new Cache\CacheBundle\CacheBundle(),
    // ...

Read the documentation at


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