cache / apcu-adapter
A PSR-6 cache implementation using apcu. This implementation supports tags
Installs: 2 753 876
Dependents: 32
Suggesters: 5
Security: 0
Stars: 17
Watchers: 3
Forks: 14
pkg:composer/cache/apcu-adapter
Requires
- php: >=7.4
 - cache/adapter-common: ^1.0
 - psr/cache: ^1.0 || ^2.0
 - psr/simple-cache: ^1.0
 
Requires (Dev)
- cache/integration-tests: ^0.17
 - phpunit/phpunit: ^7.5.20 || ^9.5.10
 
Suggests
- ext-apcu: The extension required to use this pool.
 
Provides
README
This is a PSR-6 cache implementation using Apcu. It is a part of the PHP Cache organisation. To read about features like tagging and hierarchy support please read the shared documentation at www.php-cache.com.
Install
composer require cache/apcu-adapter
Use
You do not need to do any configuration to use the ApcuCachePool.
$pool = new ApcuCachePool();
Contribute
Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker.