Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Roave/DoctrineSimpleCache
Doctrine Cache adapter for PSR-16 Simple Cache
https://github.com/Roave/DoctrineSimpleCache
Last synced: 3 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 (almost 8 years ago)
- Default Branch: 2.9.x
- Last Pushed: 2024-07-30T12:29:04.000Z (3 months ago)
- Last Synced: 2024-07-30T15:43:52.844Z (3 months ago)
- Language: PHP
- Size: 264 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
[![Build Status](https://travis-ci.org/Roave/DoctrineSimpleCache.svg?branch=master)](https://travis-ci.org/Roave/DoctrineSimpleCache)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Roave/DoctrineSimpleCache/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Roave/DoctrineSimpleCache/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/Roave/DoctrineSimpleCache/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/Roave/DoctrineSimpleCache/?branch=master)
[![Latest Stable Version](https://poser.pugx.org/roave/doctrine-simplecache/v/stable)](https://packagist.org/packages/roave/doctrine-simplecache)
[![License](https://poser.pugx.org/roave/doctrine-simplecache/license)](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