snc/redis-bundle
最新稳定版本:4.11.0-rc.1
Composer 安装命令:
composer require snc/redis-bundle
包简介
A Redis bundle for Symfony
README 文档
README
About
This bundle integrates Predis and PhpRedis into your Symfony 6.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.
统计信息
- 总下载量: 38.16M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1066
- 点击次数: 1
- 依赖项目数: 88
- 推荐数: 24
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04