{"id":86520,"library":"doctrine-cache","title":"Doctrine Cache","description":"PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.","status":"active","version":"2.2.0","language":"php","source_language":null,"source_url":"https://github.com/doctrine/cache","tags":["cache","doctrine","psr-6","psr-16","storage"],"install":[{"cmd":"composer require doctrine/cache","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"CacheProvider","correct":"use Doctrine\\Common\\Cache\\CacheProvider;"}],"quickstart":{"code":"use Doctrine\\Common\\Cache\\FilesystemCache;\n\n$cache = new FilesystemCache('/path/to/cache');\n$cache->save('key', 'value', 3600);\n$data = $cache->fetch('key');","lang":"php","description":"Basic caching with Doctrine Cache using filesystem driver."},"warnings":[{"fix":"Migrate to PSR-6 compatible cache implementations like Symfony Cache.","message":"Deprecated in favor of PSR-6/PSR-16","severity":"breaking","affected_versions":">=2.0"}],"env_vars":null,"search_vec":"'-16':30 '-6':28 'apc':21 'cach':2,5,10,25 'differ':15 'doctrin':1,4,26 'driver':16 'implement':11 'librari':6 'mani':14 'memcach':20 'mongodb':22 'other':24 'php':3 'popular':9 'psr':27,29 'redi':19 'storag':31 'support':13","created_at":"2026-06-19T08:03:10.552306+00:00","updated_at":"2026-06-19T08:03:10.552306+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://www.doctrine-project.org/projects/cache.html","github":"https://github.com/doctrine/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}}