File tree 2 files changed +19
-11
lines changed
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 )
3
3
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 ) .
5
6
6
- This adapter could also be called Ephemeral or Memory adapter.
7
+ This adapter could also be called Ephemeral or Memory adapter.
7
8
9
+ ### Install
8
10
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 30
30
"php" : " ^5.5|^7.0" ,
31
31
"psr/cache" : " 1.0.0" ,
32
32
"cache/adapter-common" : " ^0.1" ,
33
- "cache/taggable-cache" : " ^0.2 "
33
+ "cache/taggable-cache" : " ^0.3 "
34
34
},
35
35
"require-dev" :
36
36
{
37
37
"phpunit/phpunit" : " ^5.1|^4.0" ,
38
- "cache/integration-tests" : " dev-master "
38
+ "cache/integration-tests" : " ^0.4 "
39
39
},
40
40
"provide" :
41
41
{
You can’t perform that action at this time.
0 commit comments