{"id":90241,"library":"hyperf-model-cache","title":"Hyperf Model Cache","description":"A model cache component for hyperf.","status":"active","version":"3.1.63","language":"php","source_language":null,"source_url":"https://github.com/hyperf/model-cache","tags":["hyperf","model","cache","redis"],"install":[{"cmd":"composer require hyperf/model-cache","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Cacheable","correct":"use Hyperf\\ModelCache\\Cacheable;"}],"quickstart":{"code":"use Hyperf\\ModelCache\\Cacheable;\n\nclass User extends Model {\n    use Cacheable;\n}","lang":"php","description":"Add caching to a Hyperf model using the Cacheable trait"},"warnings":[{"fix":"Ensure redis driver is set in config/autoload/cache.php","message":"Requires Redis to be configured in Hyperf","severity":"gotcha","affected_versions":">=3.0.0"}],"env_vars":null,"search_vec":"'cach':3,6,12 'compon':7 'hyperf':1,9,10 'model':2,5,11 'redi':13","created_at":"2026-06-19T08:59:54.541822+00:00","updated_at":"2026-06-19T08:59:54.541822+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://hyperf.io","github":"https://github.com/hyperf/model-cache","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","caching"],"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}}