https://github.com/flipboxfactory/craft-psr16
PSR-16 Cache for Craft CMS
https://github.com/flipboxfactory/craft-psr16
Last synced: over 1 year ago
JSON representation
PSR-16 Cache for Craft CMS
- Host: GitHub
- URL: https://github.com/flipboxfactory/craft-psr16
- Owner: flipboxfactory
- License: mit
- Created: 2018-04-24T03:34:02.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-21T16:31:54.000Z (over 3 years ago)
- Last Synced: 2025-02-04T06:03:15.964Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# PSR-16 Cache for Craft CMS
[](https://gitter.im/flipboxfactory/craft-psr16?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://github.com/flipboxfactory/craft-psr16/releases)
[](LICENSE.md)
[](https://travis-ci.org/flipboxfactory/craft-psr16)
[](https://scrutinizer-ci.com/g/flipboxfactory/craft-psr16/code-structure)
[](https://scrutinizer-ci.com/g/flipboxfactory/craft-psr16)
[](https://packagist.org/packages/flipboxfactory/craft-psr16)
This package provides simple mechanism for PSR-16 Simple Cache via Craft CMS.
## Installation
To install, use composer:
```
composer require flipboxfactory/craft-psr16
```
## Testing
``` bash
$ ./vendor/bin/phpunit
```
## Usage
Define it as a component in your plugin
```php
'components' => [
'psr16cache' => [
'class' => flipbox\craft\psr16\SimpleAdapterCache::class
]
]
```
or via your composer as an 'extra' definition
```json
"components": {
"psr16cache": "flipbox\\craft\\psr16\\SimpleAdapterCache"
}
```
## Contributing
Please see [CONTRIBUTING](https://github.com/flipboxfactory/craft-psr16/blob/master/CONTRIBUTING.md) for details.
## Credits
- [Flipbox Digital](https://github.com/flipbox)
- [devonliu02/yii2-simple-cache-adapter](https://github.com/devonliu02/yii2-simple-cache-adapter)
## License
The MIT License (MIT). Please see [License File](https://github.com/flipboxfactory/craft-psr16/blob/master/LICENSE) for more information.