flipboxfactory/craft-psr16

PSR-16 Simple Cache for Craft CMS

1.1.0 2019-02-06 23:18 UTC

This package is auto-updated.

Last update: 2020-10-07 07:09:22 UTC


README

Join the chat at https://gitter.im/flipboxfactory/craft-psr16 Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

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.