rtheunissen / cache
A basic cache interface with adapters for common cache libraries
Installs: 132 639
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Requires (Dev)
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.7
This package is auto-updated.
Last update: 2024-11-29 04:57:53 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);