phpfluent / cache
A conventional project tool for PHP and git.
Installs: 47
Dependents: 1
Suggesters: 0
Security: 0
Stars: 14
Watchers: 1
Forks: 4
Open Issues: 0
pkg:composer/phpfluent/cache
Requires
- php: >=5.3.2
- doctrine/cache: ~1.4.0
Requires (Dev)
- phpunit/phpunit: ~4.4
This package is auto-updated.
Last update: 2025-10-24 06:52:26 UTC
README
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
use PHPFluent\Cache\Cache; /** * @var Doctrine\Common\Cache\Cache $doctrine */ $doctrine; $cache = new Cache($doctrine); $cache['foo'] = 'bar'; //Caching the information echo isset($cache['foo']); echo $cache['foo']; unset($cache['foo']);//Deleting the cache