blablacar / memcached-bundle
BlaBlarCar Memcached bundle
Installs: 63 992
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 47
Forks: 2
Open Issues: 0
Language:HTML
Requires
- php: >=5.3.3
- blablacar/memcached-client: ~1.1
Requires (Dev)
- fabpot/php-cs-fixer: ~1.5
- phpunit/phpunit: ~4.5
- symfony/config: @stable
- symfony/dependency-injection: @stable
- symfony/http-kernel: @stable
This package is not auto-updated.
Last update: 2020-12-25 20:30:36 UTC
README
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.