blablacar/memcached-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

BlaBlarCar Memcached bundle

v1.1.1 2015-12-03 10:18 UTC

This package is not auto-updated.

Last update: 2020-12-25 20:30:36 UTC


README

Build Status

A bundle to use memcached inside your Symfony2 application

Installation

The recommended way to install this bundle is through Composer.

composer require blablacar/memcached-bundle

Update app/AppKernel.php:

public function registerBundles()
{
    $bundles = array(
        // ...
        new Blablacar\MemcachedBundle\BlablacarMemcachedBundle(),
    );

    return $bundles;
}

If you want to use the memcached session handler add the relevant config (see next section) and update your app/config/config.yml file:

framework:
    session:
        handler_id:  blablacar_memcached.session_handler

Configuration reference

blablacar_memcached:
    clients:              # Required

        # Prototype
        name:
            persistent_id:        null
            servers:              [] # Required
            options:              []
    session:
        client:               ~ # Required
        prefix:               session
        ttl:                  ~

License

Blablacar Memcached bundle is released under the MIT License. See the bundled LICENSE file for details.