Skip to content

A very simplistic file cache that uses the ArrayAcces interface

Notifications You must be signed in to change notification settings

Level-2/SimpleCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

SimpleCache

A very simplistic file cache that uses the ArrayAcces interface

Usage

  1. Include SimpleCache.php in your project
require_once 'SimpleCache\SimpleCache.php';
  1. Instantiate the SimpleCache class and provide a cache directory
$cache = new \SimpleCache\SimpleCache('./tmp');
  1. Use the $cache object like any array. Index names will be created as files. When you run the script again the index will still have the value you assigned it.

About

A very simplistic file cache that uses the ArrayAcces interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages