Update readme

This commit is contained in:
2018-02-28 15:45:18 +01:00
parent 13cc8d2577
commit 9cc7739f26

View File

@@ -4,10 +4,17 @@ PHP Cache library with namespace, filesystem and (p)redis implementations.
### Requirements ### Requirements
Requires PHP 7.0+. Older versions might work but have not been tested. Requires PHP 7.0+. Older versions might work but have not been tested.
### Installation
`composer require iqparts/cache`
### Another cache library ### Another cache library
This cache library has been highly inspired by [Genkgo.Cache](https://raw.githubusercontent.com/genkgo/cache). We recommend using this library as it implements more adapters. The reason for this library was the need to have a backup for redis which still was able to store cached values with a variable TTL. This cache library has been highly inspired by [Genkgo.Cache](https://raw.githubusercontent.com/genkgo/cache). We recommend using Genkgo's library as it implements more adapters. The reason for this library was the need to have a backup for redis which still was able to store cached values with a **variable** TTL.
### Code ### Code
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/IQParts/cache/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/IQParts/cache/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/IQParts/cache/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/IQParts/cache/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/IQParts/cache/badges/build.png?b=master)](https://scrutinizer-ci.com/g/IQParts/cache/build-status/master)
This library attempts to comply with [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) & [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md). This library attempts to comply with [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) & [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md).
### Create your own adapter ### Create your own adapter