https://github.com/flipboxfactory/craft-psr6
DEPRECATED. Use craft-psr16
https://github.com/flipboxfactory/craft-psr6
Last synced: over 1 year ago
JSON representation
DEPRECATED. Use craft-psr16
- Host: GitHub
- URL: https://github.com/flipboxfactory/craft-psr6
- Owner: flipboxfactory
- License: mit
- Created: 2017-11-07T14:07:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-23T05:45:02.000Z (over 8 years ago)
- Last Synced: 2025-01-03T15:26:12.864Z (over 1 year ago)
- Language: PHP
- Homepage: https://github.com/flipboxfactory/craft-psr16
- Size: 5.86 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-6 Cache for Craft CMS
[](https://gitter.im/flipboxfactory/craft-psr6?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://github.com/flipboxfactory/craft-psr6/releases)
[](LICENSE.md)
[](https://travis-ci.org/flipboxfactory/craft-psr6)
[](https://scrutinizer-ci.com/g/flipboxfactory/craft-psr6/code-structure)
[](https://scrutinizer-ci.com/g/flipboxfactory/craft-psr6)
[](https://packagist.org/packages/flipboxfactory/craft-psr6)
This package provides simple mechanism for PSR-6 Cache via Craft CMS.
## Installation
To install, use composer:
```
composer require flipboxfactory/craft-psr6
```
## Testing
``` bash
$ ./vendor/bin/phpunit
```
## Usage
Define it as a component in your plugin
```php
'components' => [
'psr6cache' => [
'class' => flipbox\craft\psr6\Cache::class
]
]
```
or via your composer as an 'extra' definition
```json
"components": {
"psr6cache": "flipbox\\craft\\psr6\\Cache"
}
```
## Contributing
Please see [CONTRIBUTING](https://github.com/flipboxfactory/craft-psr6/blob/master/CONTRIBUTING.md) for details.
## Credits
- [Flipbox Digital](https://github.com/flipbox)
## License
The MIT License (MIT). Please see [License File](https://github.com/flipboxfactory/craft-psr6/blob/master/LICENSE) for more information.