An open API service indexing awesome lists of open source software.

https://github.com/jtkdvlp/simple-php-cache

Very small and simple lib for caching
https://github.com/jtkdvlp/simple-php-cache

arraycache cache filecache memorycache php

Last synced: 3 months ago
JSON representation

Very small and simple lib for caching

Awesome Lists containing this project

README

          

[![Latest Stable Version](https://poser.pugx.org/jtk/simple-php-cache/v/stable)](https://packagist.org/packages/jtk/simple-php-cache) [![Total Downloads](https://poser.pugx.org/jtk/simple-php-cache/downloads)](https://packagist.org/packages/jtk/simple-php-cache) [![License](https://poser.pugx.org/jtk/simple-php-cache/license)](https://packagist.org/packages/jtk/simple-php-cache)

# Simple PHP Cache

This very small lib is for caching in php apps. The caching is very simple. It supports caching with php`s arrays e.g. the session array and it supports file based caching. The file based version uses the php (un)serialization algorithm, thus it supports close to all types (see php documentation) and also keep the type information.

## Usage

See for Usage the "example.php" file in the root directory.

## License

See for license the "LICENSE" file in the root directory.