snc/redis-bundle
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
symfony/cache | v7.0.7 | - | MIT | prod dev | |
symfony/deprecation-contracts | v3.5.0 | - | MIT | prod dev | |
symfony/filesystem | v7.0.7 | - | MIT | prod dev | |
symfony/framework-bundle | v7.0.7 | - | MIT | prod | |
symfony/http-foundation | v7.0.7 | - | MIT | prod dev | |
symfony/service-contracts | v3.5.0 | - | MIT | prod dev | |
symfony/var-dumper | v7.0.7 | - | MIT | prod dev |
The Snc/Redis-Bundle is a handy package for Symfony applications that allows a convenient interface to Redis. It integrates Predis and PhpRedis into your Symfony 4.4+ applications, offering a speedy and highly accessible path to Redis operations. This bundle's implementation makes it functionally indistinguishable, whether you use Predis or the native PhpRedis extension. However, it's recommended to use the PhpRedis extension for its better speed and compatibility as the main development platform.
To use the Snc/Redis-Bundle, you need to install it using Composer, which is a tool for dependency management in PHP. The installation can be performed by running the command ‘composer require snc/redis-bundle’ in your terminal. Once installed, you can use this bundle in your Symfony application to interact with Redis with ease.
composer require snc/redis-bundle
Bear in mind that running the full test suite calls for PHP installed with specific PHP extensions and the redis server, as well as an overmind to kick off the fleet of redis processes.
In the local development directory with SncRedisBundle, you can enter the development environment and install php package dependencies, start redis fleet and run tests or execute any command with php binary via:
nix shell
composer update
overmind start &
php vendor/bin/phpunit
The comprehensive documentation for snc/redis-bundle is available within the docs/ directory of the repository on GitHub. The guide provides instructions on how to effectively use the bundle, its requirements, and more insights about the bundle's operations. Always remember not to include changes in redis-sentinel.conf or nodes.conf files when committing, as those change quite often. Reading through this user-friendly documentation will provide a wealth of knowledge on employing the bundle effectively.