https://github.com/roave/doctrinesimplecache
Doctrine Cache adapter for PSR-16 Simple Cache
https://github.com/roave/doctrinesimplecache
Last synced: about 1 year 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: 2025-05-02T11:53:26.000Z (about 1 year ago)
- Last Synced: 2025-05-02T12:45:51.799Z (about 1 year ago)
- Language: PHP
- Size: 264 KB
- Stars: 55
- Watchers: 10
- 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