cache / adapter-common
Common classes for PSR-6 adapters
2.0.3
2026-08-19 07:24 UTC
Requires
- php: ^8.2
- cache/tag-interop: ^2.0
- psr/cache: ^3.0
- psr/log: ^3.0
- psr/simple-cache: ^2.0 || ^3.0
Requires (Dev)
- cache/integration-tests: ^1.0@dev
- phpunit/phpunit: ^11.5
README
This package provides the shared PSR-6 and PSR-16 implementation used by PHP Cache adapters. It also provides reusable tag support.
Application code should install a concrete adapter instead. Adapter authors can install these components directly.
Installation
composer require cache/adapter-common:^2.0
Version 2 requires PHP 8.2 and psr/cache 3. Its PSR-16 API supports psr/simple-cache 2 and 3.
Documentation
Read the PHP Cache documentation to learn about adapters, tags, and hierarchical keys.
Contributing
Send pull requests to the main repository. Report issues on the GitHub issue tracker.