承接 jiaweixs/simplecache 相关项目开发

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

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

jiaweixs/simplecache

最新稳定版本:1.2

Composer 安装命令:

composer require jiaweixs/simplecache

包简介

A PHP Simple Cache Base on File.

README 文档

README

Installation

//install by composer
composer require jiaweixs/simplecache
  
//or clone from github
git clone git@github.com:kulokai/simplecache.git

Usage

//init the tool
SimpleCache::init('.../path/to/cache');
  
//init the tool and set default expire time.
SimpleCache::init('.../path/to/cache',600);
//set cache
$isSuccess = SimpleCache::set('key','hello world');
  
//set cache and set expire time for the 'key'.
$isSuccess = SimpleCache::set('key','hello world',600);
//get cache
$value = SimpleCache::get('key');
  
//get cache and set default value for the 'key'.
$value = SimpleCache::get('key','default value');

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-07-30