Skip to content

Updated docs and bumped taggable version #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 11, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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