The Wayback Machine - https://web.archive.org/web/20190902021918/https://github.com/doctrine/DoctrineCacheBundle
Skip to content
Symfony2 Bundle for Doctrine Cache
PHP
Branch: master
Clone or download
Latest commit c46725e Jun 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create pull request template with deprecation info Apr 24, 2019
Acl/Model Fixed AclCache doc comment. Apr 24, 2014
Command
DependencyInjection Remove deprecated usage of tree builder where possible Nov 8, 2018
Resources Update of Doctrine Cache link Jul 2, 2018
Tests Use build stages for travis-ci Nov 12, 2018
.coveralls.yml Use build stages for travis-ci Nov 12, 2018
.doctrine-project.json Add current => true to 1.3 version. Sep 12, 2018
.gitattributes Exclude RTD documentation from distributions Apr 2, 2018
.gitignore Added chain, void and sqlite3 cache providers. Improved couchbase pro… Feb 1, 2015
.travis.yml Use build stages for travis-ci Nov 12, 2018
DoctrineCacheBundle.php Removing license header Dec 21, 2017
LICENSE Initial version Feb 12, 2014
README.md Add deprecation warning to readme Jun 13, 2019
composer.json Allow Symfony 5.0 May 28, 2019
phpunit.xml.dist Remove invalid code from phpunit configuration Nov 9, 2018
ruleset.xml Initial version Feb 12, 2014

README.md

DoctrineCacheBundle

Symfony Bundle for Doctrine Cache.

Master: Build Status

Master: Coverage Status

Deprecation warning

This bundle is deprecated; it will not be updated for Symfony 5. If you want to use doctrine/cache in Symfony, please configure the services manually. When using Symfony, we no longer recommend configuring doctrine/cache through this bundle. Instead, you should use symfony/cache for your cache needs. However, the deprecation does not extend to doctrine/cache, you'll be able to use those classes as you did so far.

Installation

  1. Add this bundle to your project as a composer dependency:
composer require doctrine/doctrine-cache-bundle
  1. Add this bundle in your application kernel:

    // app/AppKernel.php
    public function registerBundles()
    {
        // ...
        $bundles[] = new \Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle();
    
        return $bundles;
    }

Read the documentation to learn how to configure and use your own cache providers.

You can’t perform that action at this time.