wherd/cache

Yet another cache wrapper

v1.0.0 2023-02-10 13:52 UTC

This package is auto-updated.

Last update: 2024-04-10 16:51:36 UTC


README

Yet another cache wrapper.

Installation

Install using composer:

composer require wherd/cache

Usage

use Wherd\Cache\SqliteStorage;

$cache = new SqliteStorage();
$cache->write('username', 'wherd', 60);
echo $cache->read('username');