This package provides simple mechanism for PSR-16 Simple Cache via Craft CMS.
To install, use composer:
composer require flipboxfactory/craft-psr16
$ ./vendor/bin/phpunit
Define it as a component in your plugin
'components' => [
'psr16cache' => [
'class' => flipbox\craft\psr16\SimpleAdapterCache::class
]
]
or via your composer as an 'extra' definition
"components": {
"psr16cache": "flipbox\\craft\\psr16\\SimpleAdapterCache"
}
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.