Skip to content
项目

snc/SncRedisBundle

在 GitHub 查看

关于

Symfony 的 Redis bundle,支持 Predis 和 PhpRedis

数据与分析

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
-1

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

RedisBundle

Latest Stable Version License Monthly Downloads Build Status

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.

探索相关项目

加载中…