PHPackages                             mesavolt/simple-cache-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. mesavolt/simple-cache-bundle

ActiveSymfony-bundle[Caching](/categories/caching)

mesavolt/simple-cache-bundle
============================

Symfony integration for mesavolt/simple-cache

v2.3.1(1y ago)1942[1 PRs](https://github.com/MesaVolt/simple-cache-bundle/pulls)MITPHPPHP &gt;=7.4

Since Jun 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/MesaVolt/simple-cache-bundle)[ Packagist](https://packagist.org/packages/mesavolt/simple-cache-bundle)[ RSS](/packages/mesavolt-simple-cache-bundle/feed)WikiDiscussions develop Synced 3d ago

READMEChangelogDependencies (8)Versions (12)Used By (0)

Mesavolt/SimpleCacheBundle
==========================

[](#mesavoltsimplecachebundle)

[![Latest Stable Version](https://camo.githubusercontent.com/7e6aa190f6b8e1277a6ad758f7533f5ea4ae96741cbabddc3635e5b3db72c14a/68747470733a2f2f706f7365722e707567782e6f72672f6d657361766f6c742f73696d706c652d63616368652d62756e646c652f762f737461626c65)](https://packagist.org/packages/mesavolt/simple-cache-bundle)[![License](https://camo.githubusercontent.com/d73c5d450e7ba8ab6cc9fb7172b0289e113dda73af48b6d997444b1439b394e2/68747470733a2f2f706f7365722e707567782e6f72672f6d657361766f6c742f73696d706c652d63616368652d62756e646c652f6c6963656e7365)](https://packagist.org/packages/mesavolt/simple-cache-bundle)

Integrate [`mesavolt/simple-cache`](https://packagist.org/packages/mesavolt/simple-cache)into your Symfony app.

By default, it writes the cache to disk in the cache directory of Symfony (`%kernel.cache_dir%`) and uses an empty namespace, but both these options can be configured.

Installation
------------

[](#installation)

### Applications that use Symfony Flex

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
composer require mesavolt/simple-cache-bundle
```

That's it. Flex automagically enables the bundle for you. Go to the **Configuration**section of this README to see how you can customize the bundle's behavior.

### Applications that don't use Symfony Flex

[](#applications-that-dont-use-symfony-flex)

#### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
composer require mesavolt/simple-cache-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

#### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
