承接 symfony-bundles/redis-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

symfony-bundles/redis-bundle

最新稳定版本:3.1.7

Composer 安装命令:

composer require symfony-bundles/redis-bundle

包简介

Symfony Redis Bundle

README 文档

README

Build Code Coverage Total Downloads Latest Stable Version License

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

GitHub 信息

  • Stars: 27
  • Watchers: 5
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-06-02