snc / redis-bundle
A Redis bundle for Symfony
Installs: 33 416 925
Dependents: 87
Suggesters: 24
Security: 0
Stars: 1 037
Watchers: 36
Forks: 327
Open Issues: 6
Type:symfony-bundle
Requires
- php: ^7.4 || ^8.0
- symfony/deprecation-contracts: ^2 || ^3
- symfony/framework-bundle: ^5.4.20 ||^6.0 || ^7.0
- symfony/http-foundation: ^5.4.20 ||^6.0 || ^7.0
- symfony/service-contracts: >=1.0
- symfony/var-dumper: ^5.4.20 ||^6.0 || ^7.0
Requires (Dev)
- ext-pdo_sqlite: *
- ext-redis: *
- doctrine/annotations: ^2.0
- doctrine/coding-standard: ^12.0
- friendsofphp/proxy-manager-lts: ^1.0.6
- monolog/monolog: *
- phpunit/phpunit: ^9.5.28 || ^10
- predis/predis: ^2.0
- seec/phpunit-consecutive-params: dev-master
- symfony/browser-kit: ^5.4.20 ||^6.0 || ^7.0
- symfony/cache: ^5.4.20 ||^6.0 || ^7.0
- symfony/config: ^5.4.20 ||^6.0 || ^7.0
- symfony/console: ^5.4.20 ||^6.0 || ^7.0
- symfony/dom-crawler: ^5.4.20 ||^6.0 || ^7.0
- symfony/filesystem: ^5.4.20 ||^6.0 || ^7.0
- symfony/stopwatch: ^5.4.20 ||^6.0 || ^7.0
- symfony/twig-bundle: ^5.4.20 ||^6.0 || ^7.0
- symfony/web-profiler-bundle: ^5.4.20 ||^6.0 || ^7.0
- symfony/yaml: ^5.4.20 ||^6.0 || ^7.0
- vimeo/psalm: ^5.2
Suggests
- monolog/monolog: If you want to use the monolog redis handler.
- predis/predis: If you want to use predis.
- symfony/console: If you want to use commands to interact with the redis database
Conflicts
- ext-redis: <5.3.2
- predis/predis: <2.0
- 689.x-dev
- 4.8.0
- 4.7.2
- 4.7.1
- 4.7.0
- 4.6.1
- 4.6.0
- 4.5.1
- 4.5.0
- 4.4.2
- 4.4.1
- 4.4.0
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.1
- 4.2.0
- 4.1.6
- 4.1.5
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.2
- 4.0.1
- 4.0
- dev-master / 3.x-dev
- 3.6.0
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.1
- 3.4.0
- 3.3.0
- 3.2.4
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.0
- 3.0.0-RC2
- 3.0.0-RC1
- 2.1.13
- 2.1.12
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- dev-late-collector
- dev-sentinel-password
- dev-relay
- dev-sentinel
- dev-fix-acl-username
- dev-tmp-log-everything
- dev-bugfix-651
- dev-middleware
This package is auto-updated.
Last update: 2024-12-16 13:10:24 UTC
README
About
This bundle integrates Predis and PhpRedis into your Symfony 4.4+ application, providing a fast and convenient interface to Redis.
Using the native PhpRedis extension is recommended as it is faster and our main development platform. If the extension is not available and cannot be installed in your environment Predis is considered a safe and portable alternative, and our integration should be functionally identical.
Installation
Use Composer:
composer require snc/redis-bundle
Documentation
Read the documentation in docs/
Contributing
Running full test suite requires PHP installed with certain PHP extensions and redis server, as well as overmind to start the fleet of redis processes.
Because of this, we use Nix for local development.
After you install Nix, make sure you are in directory with SncRedisBundle. Within it, you can run
nix shell
to install and enter the development environment. Once there, you can run
composer update # install php package dependencies
overmind start & # start redis fleet
php vendor/bin/phpunit # run tests, or anything else you want with php binary
License
See LICENSE.