-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Nyholm/patch-2
Updated docs and bumped taggable version
- Loading branch information
Showing
2 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters