flipboxfactory / craft-psr6
PSR-6 Cache for Craft CMS
Installs: 2 903
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: >=7.0
- craftcms/cms: ~3.0.0-RC
- flipboxdigital/stash-pool: ^1.0
- flipboxfactory/craft-psr3: ~1.0.0-rc
Requires (Dev)
- phpunit/phpunit: ^5.0
- squizlabs/php_codesniffer: ^2.0
This package is auto-updated.
Last update: 2024-12-09 14:34:50 UTC
README
This package provides simple mechanism for PSR-6 Cache via Craft CMS.
Installation
To install, use composer:
composer require flipboxfactory/craft-psr6
Testing
$ ./vendor/bin/phpunit
Usage
Define it as a component in your plugin
'components' => [ 'psr6cache' => [ 'class' => flipbox\craft\psr6\Cache::class ] ]
or via your composer as an 'extra' definition
"components": { "psr6cache": "flipbox\\craft\\psr6\\Cache" }
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.