https://github.com/Roave/DoctrineSimpleCache
Doctrine Cache adapter for PSR-16 Simple Cache
https://github.com/Roave/DoctrineSimpleCache
Last synced: 11 months ago
JSON representation
Doctrine Cache adapter for PSR-16 Simple Cache
- Host: GitHub
- URL: https://github.com/Roave/DoctrineSimpleCache
- Owner: Roave
- License: mit
- Created: 2017-01-03T08:47:07.000Z (over 9 years ago)
- Default Branch: 2.9.x
- Last Pushed: 2024-09-13T06:57:55.000Z (almost 2 years ago)
- Last Synced: 2024-09-13T18:50:34.786Z (almost 2 years ago)
- Language: PHP
- Size: 245 KB
- Stars: 57
- Watchers: 11
- Forks: 11
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Doctrine SimpleCache adapter
[](https://travis-ci.org/Roave/DoctrineSimpleCache)
[](https://scrutinizer-ci.com/g/Roave/DoctrineSimpleCache/?branch=master)
[](https://scrutinizer-ci.com/g/Roave/DoctrineSimpleCache/?branch=master)
[](https://packagist.org/packages/roave/doctrine-simplecache)
[](https://packagist.org/packages/roave/doctrine-simplecache)
[PSR-16 SimpleCache](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-16-simple-cache.md)
implementation that accepts a Doctrine Cache and adapts it for the PSR-16 standards.
## Installation
This will install `doctrine/cache` if not already installed.
```bash
$ composer require roave/doctrine-simplecache
```
## Usage
Create your Doctrine Cache the usual way and inject it into `SimpleCacheAdapter`, for example:
```php