A bundle to use memcached inside your Symfony2 application
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
blablacar_memcached:
clients: # Required
# Prototype
name:
persistent_id: null
servers: [] # Required
options: []
session:
client: ~ # Required
prefix: session
ttl: ~
Blablacar Memcached bundle is released under the MIT License. See the bundled LICENSE file for details.