{"id":91439,"library":"cache-cache","title":"PHP Cache","description":"Library of all the php-cache adapters providing a PSR-6 and PSR-16 caching interface.","status":"active","version":"1.0.0","language":"php","source_language":null,"source_url":"https://github.com/php-cache/cache","tags":["cache","psr-6","psr-16","filesystem"],"install":[{"cmd":"composer require cache/cache","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"FilesystemCachePool","correct":"use Cache\\Adapter\\Filesystem\\FilesystemCachePool;"}],"quickstart":{"code":"use Cache\\Adapter\\Filesystem\\FilesystemCachePool;\nuse League\\Flysystem\\Adapter\\Local;\nuse League\\Flysystem\\Filesystem;\n\n$filesystemAdapter = new Local(__DIR__.'/cache');\n$filesystem = new Filesystem($filesystemAdapter);\n$pool = new FilesystemCachePool($filesystem);\n$item = $pool->getItem('key');\nif (!$item->isHit()) {\n    $item->set('value');\n    $pool->save($item);\n}\necho $item->get();","lang":"php","description":"Cache a value using filesystem adapter"},"warnings":[{"fix":"Install individual adapters like cache/filesystem-adapter or cache/redis-adapter.","message":"This package is a meta-package that requires installing specific adapters separately.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'-16':17,24 '-6':14,22 'adapt':10 'cach':2,9,18,20 'filesystem':25 'interfac':19 'librari':3 'php':1,8 'php-cach':7 'provid':11 'psr':13,16,21,23","created_at":"2026-06-19T09:17:38.360842+00:00","updated_at":"2026-06-19T09:17:38.360842+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://www.php-cache.com/en/latest/","github":"https://github.com/php-cache/cache","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}