lucid / cache
Caching library
v0.0.1
2015-12-22 10:09 UTC
Requires
- php: >=5.6.0
- lucid/common: dev-master
Requires (Dev)
- phpunit/phpunit: 5.2.*@dev
This package is not auto-updated.
Last update: 2024-12-17 19:56:18 UTC
README
Requirements
php >= 5.6
Installation
$ composer require lucid/cache
Using the storage
<?php use Lucid\Cache\Storage; use Lucid\Cache\Client\Filesystem; $cache = new Storate(new Filesystem('app/caches')); $cache->set('id', 'value'); $cache->get('id'); // 'value'
Included clients
APCu
Filesystem
InMemory
Redis
Memcached
Memcache (php < 7.0)
XCache