flipboxfactory / craft-psr16
PSR-16 Simple Cache for Craft CMS
Installs: 11 200
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: >=8.0
- craftcms/cms: ~3.0|~4.0
- psr/simple-cache: ^3.0
Requires (Dev)
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^2.0
This package is auto-updated.
Last update: 2024-04-21 19:54:24 UTC
README
This package provides simple mechanism for PSR-16 Simple Cache via Craft CMS.
Installation
To install, use composer:
composer require flipboxfactory/craft-psr16
Testing
$ ./vendor/bin/phpunit
Usage
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"
}
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.