Skip to content

Repository files navigation

PHPFluent\Cache

Build Status

A fluent cache library for PHP built on the shoulders of Doctrine\Cache.

Installation

Package is available on Packagist, you can install it using Composer.

composer require phpfluent/cache

Usage

usePHPFluent\Cache\Cache;
/** * @var Doctrine\Common\Cache\Cache $doctrine */$doctrine;
$cache = newCache($doctrine);
$cache['foo'] = 'bar'; //Caching the informationechoisset($cache['foo']);
echo$cache['foo'];
unset($cache['foo']);//Deleting the cache

About

A fluent cache library for PHP.

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages