定制 dyweb/redis-cache 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dyweb/redis-cache

Composer 安装命令:

composer require dyweb/redis-cache

包简介

Simple redis cache library with namespaces and PSR-6

README 文档

README

License StyleCI Build Status codecov Latest Stable Version HHVM Status

RedisCache is a simple cache library with key namespaces, Redis support, and PSR-6 implementation. To keep it simple, it only provides the simplest interface and brings with no dependencies (except PSR-6 interfaces). Different from other complex and redundant cache libraries, RedisCache is just tiny and powerful.

Features

  • Support both Predis and PhpRedis
  • Support PSR-6
  • Store and manage keys in different namespaces
  • Use with fluent interface
  • Utilize lazy recording for better performance
  • Utilize additional in-memory cache to reduce I/O
  • No dependencies except PSR-6 interfaces

Requirements

  • PHP 5.3 or newer
  • Redis 2.8 or newer

Installation

RedisCache is Composer and PSR-4 ready. To install it, just run the following command:

composer require dyweb/redis-cache

Getting Started

Please check the examples here.

Configuration

Please check the configuration doc.

Development

Contributing

Contributing to this project is highly appreciated through merge requests for new features or bug fixes, bug reporting or just suggestions. Please follow the PSR-2 coding standard when contributing, and ensure that all your contributions are not against our coding style and integrated tests.

Testing

Follow these commands to configure the necessary environment and run checks and tests:

composer install

# run tests
./run-check.sh

The latest version of PHPUnit is recommended for testing.

License

The code for this project is distributed under the terms of the MIT License. (See LICENSE)

统计信息

  • 总下载量: 884
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 28
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-08-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固