library rapture-cache
Rapture PHP cache component
iuliann/rapture-cache
Rapture PHP cache component
- Thursday, June 15, 2017
- by iuliann
- Repository
- 1 Watchers
- 0 Stars
- 18 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 50 % Grown
Rapture PHP Cache Component
, (*1)
Basic cache component for PHP., (*2)
Requirements
- PHP v5.4
- php-apcu, php-date, php-memcached, php-pcre
Install
composer require mrjulio/rapture-cache
Quick start
$cache = new Apcu(['namespace' => 'app']);
$cache->set('user', 'JohnDoe', CacheInterface::ONE_HOUR);
$cache->get('user');
About
Author
Iulian N. rapture@iuliann.ro
, (*3)
Testing
cd ./test && phpunit
License
Rapture PHP Cache is licensed under the MIT License - see the LICENSE
file for details., (*4)