rtheunissen / cache
A basic cache interface with adapters for common cache libraries
Installs: 139 581
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
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-10-29 02:02:42 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);