diff --git a/README.md b/README.md index 6193469..1e9a223 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,21 @@ -# Array PSR-6 adapter -[![Build Status](https://travis-ci.org/php-cache/array-adapter.svg?branch=master)](https://travis-ci.org/php-cache/array-adapter) [![codecov.io](https://codecov.io/github/php-cache/array-adapter/coverage.svg?branch=master)](https://codecov.io/github/php-cache/array-adapter?branch=master) +# Array PSR-6 Cache pool +[![Latest Stable Version](https://poser.pugx.org/cache/array-adapter/v/stable)](https://packagist.org/packages/cache/array-adapter) [![codecov.io](https://codecov.io/github/php-cache/array-adapter/coverage.svg?branch=master)](https://codecov.io/github/php-cache/array-adapter?branch=master) [![Build Status](https://travis-ci.org/php-cache/array-adapter.svg?branch=master)](https://travis-ci.org/php-cache/array-adapter) [![Total Downloads](https://poser.pugx.org/cache/array-adapter/downloads)](https://packagist.org/packages/cache/array-adapter) [![Monthly Downloads](https://poser.pugx.org/cache/array-adapter/d/monthly.png)](https://packagist.org/packages/cache/array-adapter) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE) -This is a implementation for the PSR-6 for an array cache. This implementation supports tags. +This is a PSR-6 cache implementation using a PHP array. It is a part of the PHP Cache organisation. To read about +features like tagging and hierarchy support please read the shared documentation at [www.php-cache.com](http://www.php-cache.com). -This adapter could also be called Ephemeral or Memory adapter. +This adapter could also be called Ephemeral or Memory adapter. +### Install -| Feature | Supported | -| ------- | --------- | -| Flush everything | Yes -| Expiration time | No -| Tagging | Yes +```bash +composer require cache/array-adapter +``` + +### Configure + +No configuration is needed. + +```php +$pool = new ArrayCachePool(); +``` \ No newline at end of file diff --git a/composer.json b/composer.json index 0b160f5..bf538d3 100644 --- a/composer.json +++ b/composer.json @@ -30,12 +30,12 @@ "php": "^5.5|^7.0", "psr/cache": "1.0.0", "cache/adapter-common": "^0.1", - "cache/taggable-cache": "^0.2" + "cache/taggable-cache": "^0.3" }, "require-dev": { "phpunit/phpunit": "^5.1|^4.0", - "cache/integration-tests": "dev-master" + "cache/integration-tests": "^0.4" }, "provide": {