rtheunissen / cache
A basic cache interface with adapters for common cache libraries
Installs: 138 801
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/rtheunissen/cache
Requires (Dev)
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.7
This package is auto-updated.
Last update: 2025-09-29 01:51:29 UTC
README
Installation
composer require rtheunissen/cache
Usage
Supported cache providers are: - Doctrine - CacheProvider - Illuminate - Store - Stash - AbstractDriver
The easiest way to create an adapter is to use the AdapterFactory.
$cache = AdapterFactory::get($provider);