osflab/cache

针对性能优化的 OSF 缓存代理

3.0.0 2018-02-26 14:34 UTC

This package is not auto-updated.

Last update: 2024-09-29 04:48:56 UTC


README

一个简单的缓存组件,针对 Redis 优化,并实现了 PSR6 接口。

安装

您需要至少 PHP 7.1 和 composer

sudo apt install composer

在您的应用程序中通过 composer

这是在非 osf 项目中使用此功能的推荐方式。

只需在您的 composer.json 文件中添加 osflab/cache

从 github

测试组件或参与其开发。

git clone https://github.com/osflab/cache.git
cd cache && composer update

单元测试启动

vendor/bin/runtests