Skip to content

Commit

Permalink
Merge pull request #2 from Nyholm/patch-2
Browse files Browse the repository at this point in the history
Updated docs and bumped taggable version
  • Loading branch information
Nyholm committed Jan 11, 2016
2 parents 5c3b726 + 9f20026 commit 0f29151
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
26 changes: 17 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -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();
```
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":
{
Expand Down

0 comments on commit 0f29151

Please sign in to comment.