doctrine/doctrine-cache-bundle

Symfony Bundle for Doctrine Cache

Installs: 40 917 878

Dependents: 352

Suggesters: 15

Stars: 2 474

Watchers: 25

Forks: 76

Open Issues: 1

Type:symfony-bundle

1.3.5 2018-11-09 06:25 UTC

README

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.