2017 © Pedro Peláez
 

symfony-bundle cachebundle

A fluent cache bundle for Symfony 2.

image

phpfluent/cachebundle

A fluent cache bundle for Symfony 2.

  • Sunday, February 24, 2013
  • by henriquemoody
  • Repository
  • 1 Watchers
  • 2 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CacheBundle

A fluent cache bundle for Symfony 2., (*1)

Installation

composer require phpfluent/cachebundle, (*2)

Update the settings.yml file php services: cache: class: Doctrine\Common\Cache\ApcCache, (*3)

Register the bundle ```php <?php //%/app/AppKernel.php, (*4)

$bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\TwigBundle\TwigBundle(), new Symfony\Bundle\MonologBundle\MonologBundle(), new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(), /** * Your bundles */ new PHPFluent\Bundle\CacheBundle\CacheBundle(), ); Call it from your codephp $cache = $this->get('phpfluent_cache');, (*5)

$cache['foo'] = 'bar'; //Caching echo $cache['foo'];//Retrieving from the cache ```, (*6)

The Versions

24/02 2013

dev-master

9999999-dev http://github.com/PHPFluent/CacheBundle

A fluent cache bundle for Symfony 2.

  Sources   Download

New BSD

The Requires

 

cache development bundle symfony