symfony-bundles/redis-bundle
最新稳定版本:3.1.7
Composer 安装命令:
composer require symfony-bundles/redis-bundle
包简介
Symfony Redis Bundle
README 文档
README
Installation
- Require the bundle with composer:
composer req symfony-bundles/redis-bundle
Configuring of the clients
If you want to configure Redis clients - create a configuration file. For example:
# config/packages/sb_redis.yaml sb_redis: clients: default: $options: [] $parameters: ['tcp://127.0.0.1:6379?database=3']
If you want to configure Redis clients Sentinel:
# config/packages/sb_redis.yaml sb_redis: clients: default: $options: replication: 'sentinel’ service: 'mymaster' parameters: database: '3' $parameters: ['%env(REDIS_URL)%', '%env(REDIS_URL)%']
Read more about supported client options and connection parameters:
How to use
Read more on the page Quick tour.
统计信息
- 总下载量: 1.1M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 29
- 点击次数: 1
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-02