flipboxfactory/craft-psr16

PSR-16 Simple Cache for Craft CMS

2.0.0 2023-01-20 19:58 UTC

This package is auto-updated.

Last update: 2024-10-21 20:51:52 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.