{"id":94452,"library":"amphp-cache","title":"Amp Cache","description":"A fiber-aware cache API based on Amp and Revolt.","status":"active","version":"2.0.1","language":"php","source_language":null,"source_url":"https://github.com/amphp/cache","tags":["cache","async","fiber","amphp"],"install":[{"cmd":"composer require amphp/cache","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Cache","correct":"use Amp\\Cache\\Cache;"}],"quickstart":{"code":"use Amp\\Cache\\Cache;\n\n$cache = new Cache();\n$cache->set('key', 'value');\n$value = $cache->get('key');","lang":"php","description":"Store and retrieve a cache entry."},"warnings":[{"fix":"Use PHP 8.1 or higher with fibers enabled.","message":"Requires PHP 8.1+ and fiber support.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'amp':1,11 'amphp':17 'api':8 'async':15 'awar':6 'base':9 'cach':2,7,14 'fiber':5,16 'fiber-awar':4 'revolt':13","created_at":"2026-06-19T10:06:38.408141+00:00","updated_at":"2026-06-19T10:06:38.408141+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":"https://amphp.org/cache","github":"https://github.com/amphp/cache","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["caching","async"],"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}}