ovr / cacher
This package is abandoned and no longer maintained.
No replacement package was suggested.
Cache your data by easy way.
0.1.4
2014-09-30 09:57 UTC
Requires
- php: ~5.4
Requires (Dev)
- lavoiesl/php-benchmark: 1.4
- phpunit/phpunit: ~4.2
- squizlabs/php_codesniffer: 1.5.2
Suggests
- ext-memcache: To use Driver\Memcache
- ext-memcached: To use Driver\Memcached
- ext-redis: To use Driver\Redis
This package is not auto-updated.
Last update: 2019-01-08 21:28:46 UTC
README
Cache your data by easy way.
Drivers support:
- Memcache
- Memcached
- Redis
- NativeArray
How to install
Using Composer (recommended)
composer require ovr/cacher:*
How to work
You need to create instance of Driver
use Cacher\Driver\NativeArray; $driver = new NativeArray;
Example:
$driver->save('my_test_key', 12345); $result = $driver->get('my_test_key'); var_dump($result === 12345),
License
This project is open-sourced software licensed under the MIT License. See the LICENSE file for more information.