drone076 / redis-bundle
Symfony 4 Redis Bundle
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 8
Type:symfony-bundle
Requires
- php: ^7.1.3
- predis/predis: ~1.1
- symfony/framework-bundle: ^3.4||^4.0
- symfony/yaml: ^3.4||^4.0
Requires (Dev)
- phpunit/php-code-coverage: ^5.0
- phpunit/phpunit: ^6.4
README
Fork from symfony-bundles/redis-bundle with fixed Symfony 4.* deprecations
Fix "A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0." deprecation.
Installation
- Require the bundle with composer:
composer req drone076/redis-bundle
Configuring of the clients
If you want configure Redis clients - create configuration file. For example:
# config/packages/sb_redis.yaml sb_redis: clients: default: $options: [] $parameters: ['tcp://127.0.0.1:6379?database=3']
Read more about supported client options and connection parameters:
How to use
Read more on the page Quick tour.