File tree Expand file tree Collapse file tree 2 files changed +19
-11
lines changed Expand file tree Collapse file tree 2 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 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+ ```
Original file line number Diff line number Diff line change 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 {
You can’t perform that action at this time.
0 commit comments