承接 realpage/simple-cache 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

realpage/simple-cache

Composer 安装命令:

composer require realpage/simple-cache

包简介

Simple caching based on the proposed PSR-16

README 文档

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Simple implementation of the proposed psr-16 simplecache standard. It is recommended that you familiarize yourself with the proposal when using this package.

Install

Via Composer

$ composer require jlaswell/simple-cache

Usage

Single values

$cache = new Jlaswell\SimpleCache\ArrayCache();
$cache->set('key1' 'value1');
// Do operations
$key1 = $cache->get('key1');

Multiple values

$cache = new Jlaswell\SimpleCache\ArrayCache();
$cache->setMultiple(['key1' => 'value1', 'key2' => 'value2']);
// Do operations
$data = $cache->getMultiple(['key1', 'key2']);

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

Tests for simple-cache are designed to be run against running instances of each of the available drivers. This means that we utilize Docker to run instances of each driver such as redis during testing. The following will start up all of the available drivers and run all of the available tests.

$ docker-compose up -d
$ composer test

simple-cache centralizes most unit tests into a single trait that is used for each driver's unit test. Each unit test simply implements a buildCache method, uses the CacheInterfaceTestCases trait, and tests will be run for that driver. The ArrayCacheTest is a good example to understand the structure and trait usage.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email john.n.laswell+github@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固