2017 © Pedro Peláez
 

library simplecache

A PHP Simple Cache Base on File.

image

jiaweixs/simplecache

A PHP Simple Cache Base on File.

  • Thursday, August 24, 2017
  • by JiaweiXS
  • Repository
  • 1 Watchers
  • 1 Stars
  • 514 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 24 % Grown

The README.md

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');

The Versions

24/08 2017

dev-master

9999999-dev

A PHP Simple Cache Base on File.

  Sources   Download

MIT

The Requires

  • php ^5.5.9 || ^7.0

 

by Avatar JiaweiXS

cache simple cache

24/08 2017

1.2

1.2.0.0

A PHP Simple Cache Base on File.

  Sources   Download

MIT

The Requires

  • php ^5.5.9 || ^7.0

 

by Avatar JiaweiXS

cache simple cache

30/07 2017

1.1.1

1.1.1.0

A PHP Simple Cache Base on File.

  Sources   Download

MIT

The Requires

  • php ^5.5.9 || ^7.0

 

by Avatar JiaweiXS

cache simple cache

29/07 2017

1.0.1

1.0.1.0

A PHP Simple Cache Base on File.

  Sources   Download

MIT

The Requires

  • php ^5.5.9 || ^7.0

 

by Avatar JiaweiXS

cache

29/07 2017

1.0

1.0.0.0

A PHP Simple Cache Base on File.

  Sources   Download

MIT

The Requires

  • php ^5.5.9 || ^7.0

 

by Jiawei XS

cache