blablacar / memcached-bundle
此包已被废弃,不再维护。未建议替代包。
BlaBlarCar Memcached 包
v1.1.1
2015-12-03 10:18 UTC
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
用于在您的 Symfony2 应用程序中使用 memcached 的包
安装
推荐通过 Composer 安装此包。
composer require blablacar/memcached-bundle
更新 app/AppKernel.php
public function registerBundles() { $bundles = array( // ... new Blablacar\MemcachedBundle\BlablacarMemcachedBundle(), ); return $bundles; }
如果您想使用 memcached 会话处理器,请添加相关配置(见下一节)并更新您的 app/config/config.yml
文件
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 包在 MIT 许可下发布。有关详细信息,请参阅包含的 LICENSE 文件。