Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 2.15 KB

README.md

File metadata and controls

54 lines (40 loc) · 2.15 KB

PSR-16 Cache for Craft CMS

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.