library rapture-cache
Rapture PHP cache component
mrjulio/rapture-cache
Rapture PHP cache component
- Saturday, November 18, 2017
- by MrJulio
- Repository
- 0 Watchers
- 0 Stars
- 3 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % 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)