johnshopkins / cache-exchange
A collection of adapters to make swapping out cache library dependencies quick and easy.
v2.2.0
2025-10-15 18:12 UTC
Requires
- php: >=8.0
Requires (Dev)
- phpunit/phpunit: ^11.3
- predis/predis: ^3.2
Suggests
- ext-memcached: Required for Memcached adapter usage
- predis/predis: Required for Redis adapter usage
README
A collection of PHP interfaces and adapters to make swapping out cache library dependencies quick and easy.
Requirements
- For Memcached adapter: PHP Memcached extension
- For Redis adapter: Redis and Predis
Running tests
- Start the Docker container.
composer run up
- Run tests.
composer run test - When you are done testing, stop the container.
composer run down