php-cache / issues

Issue Tracker for PHP-Cache
http://www.php-cache.com
8 stars 4 forks source link

psr/simple-cache 1|2|3 #154

Open asgrim opened 2 years ago

asgrim commented 2 years ago

Apologies if there was already a discussion/issue about this, I did a search but could not find anything yet.

Is there any plans to add support for psr/simple-cache versions 2.0.0 and 3.0.0 at any point?

Note: not sure how easy/doable this actually is, since 2|3 require php 8 so might not work on 7.4 (which is supported here).

tacman commented 1 year ago

Most tools seem to support all 3 versions, for example,

composer why psr/cache

api-platform/core         v3.0.8  requires psr/cache (^1.0 || ^2.0 || ^3.0) 
cache/adapter-common      1.3.0   requires psr/cache (^1.0 || ^2.0)         
cache/array-adapter       1.2.0   requires psr/cache (^1.0 || ^2.0)         
cache/hierarchical-cache  1.2.0   requires psr/cache (^1.0 || ^2.0)         
cache/tag-interop         1.1.0   requires psr/cache (^1.0 || ^2.0)         
dama/doctrine-test-bundle v7.1.1  requires psr/cache (^1.0 || ^2.0 || ^3.0) 
doctrine/annotations      1.14.2  requires psr/cache (^1 || ^2 || ^3)       
doctrine/dbal             3.5.2   requires psr/cache (^1|^2|^3)             
doctrine/orm              2.14.0  requires psr/cache (^1 || ^2 || ^3)       
doctrine/persistence      3.1.2   requires psr/cache (^1.0 || ^2.0 || ^3.0) 
gedmo/doctrine-extensions v3.10.0 requires psr/cache (^1 || ^2 || ^3)       
league/geotools           1.1.0   requires psr/cache (^1.0 || ^2.0 || ^3.0) 
symfony/cache             v6.2.4  requires psr/cache (^2.0|^3.0)            
symfony/cache-contracts   v2.5.2  requires psr/cache (^1.0|^2.0|^3.0)       
dereckson commented 1 year ago

Void cache only supports 1.0.0, 1.0.1.