doctrine/doctrine-cache-bundle
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
doctrine/cache | 1.13.0 | - | MIT | prod | |
doctrine/inflector | 1.4.4 | - | MIT | prod | |
symfony/doctrine-bridge | v4.4.48 | - | MIT | prod |
DoctrineCacheBundle or doctrine/doctrine-cache-bundle is a Symfony bundle designed to integrate Doctrine Cache into your Symfony project. The bundle provides convenient means for using caching mechanisms popular in PHP, like APC, Memcache, and Redis among others, to help boost performance. However, it's important to note that this bundle is deprecated and won't be updated for Symfony 5 and beyond, and the developers recommend using Symfony's built-in caching component symfony/cache instead.
How to use DoctrineCacheBundle usually involves installing it via composer and then enabling it in the kernel of your Symfony project. Here's a simple example:
composer require doctrine/doctrine-cache-bundle
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
...
new Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle(),
...
);
}
}
However, due its deprecation, the developers recommend configuring your caching services manually or switching to symfony/cache.
Currently no official, separate documentation for DoctrineCacheBundle exists. Information is contained within the README file in the GitHub repository: DoctrineCacheBundle GitHub. As the bundle is deprecated and won't be updated further, users are encouraged to use Symfony's official cache component and consult corresponding Symfony Cache documentation.