2017 © Pedro Peláez
 

symfony-bundle cache-bundle

Add very simple cache service for (File, Apc, Apcu, Memcached, Redis...)

image

gollumsf/cache-bundle

Add very simple cache service for (File, Apc, Apcu, Memcached, Redis...)

  • Wednesday, February 14, 2018
  • by Smeagolworms4
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

GollumSFCacheBundle

Build Status License Latest Stable Version Latest Unstable Version, (*1)

Installation:

Composer

composer require gollumsf/cache-bundle

AppKernel.php

class AppKernel extends Kernel {

    public function registerBundles() {

        $bundles = [

            // [...] //

            new GollumSF\CoreBundle\GollumSFCacheBundle(),

            // [...] // 
        }
    }
}

config.yml

gollum_sf_cache:

Usages:

$cache = $container->get('gsf_cache.cache')
$cache->set('key', 'Hello World');
echo $cache->get('key'); // Display: Hello World

The Versions

14/02 2018

dev-master

9999999-dev https://github.com/GollumSF/cache-bundle

Add very simple cache service for (File, Apc, Apcu, Memcached, Redis...)

  Sources   Download

GPLv3 GPL-3.0-or-later

The Requires

 

by Damien Duboeuf

cache redis apc memcached apcu