Skip to content

Commit 0f29151

Browse files
committed
Merge pull request #2 from Nyholm/patch-2
Updated docs and bumped taggable version
2 parents 5c3b726 + 9f20026 commit 0f29151

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

README.md

+17-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1-
# Array PSR-6 adapter
2-
[![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)
1+
# Array PSR-6 Cache pool
2+
[![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)
33

4-
This is a implementation for the PSR-6 for an array cache. This implementation supports tags.
4+
This is a PSR-6 cache implementation using a PHP array. It is a part of the PHP Cache organisation. To read about
5+
features like tagging and hierarchy support please read the shared documentation at [www.php-cache.com](http://www.php-cache.com).
56

6-
This adapter could also be called Ephemeral or Memory adapter.
7+
This adapter could also be called Ephemeral or Memory adapter.
78

9+
### Install
810

9-
| Feature | Supported |
10-
| ------- | --------- |
11-
| Flush everything | Yes
12-
| Expiration time | No
13-
| Tagging | Yes
11+
```bash
12+
composer require cache/array-adapter
13+
```
14+
15+
### Configure
16+
17+
No configuration is needed.
18+
19+
```php
20+
$pool = new ArrayCachePool();
21+
```

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
"php": "^5.5|^7.0",
3131
"psr/cache": "1.0.0",
3232
"cache/adapter-common": "^0.1",
33-
"cache/taggable-cache": "^0.2"
33+
"cache/taggable-cache": "^0.3"
3434
},
3535
"require-dev":
3636
{
3737
"phpunit/phpunit": "^5.1|^4.0",
38-
"cache/integration-tests": "dev-master"
38+
"cache/integration-tests": "^0.4"
3939
},
4040
"provide":
4141
{

0 commit comments

Comments
 (0)