{"id":90393,"library":"colinmollenhour-credis","title":"Credis","description":"Credis is a lightweight interface to the Redis key-value store which wraps the phpredis library when available for better performance.","status":"active","version":"1.17.1","language":"php","source_language":null,"source_url":"https://github.com/colinmollenhour/credis","tags":["redis","cache","key-value","phpredis"],"install":[{"cmd":"composer require colinmollenhour/credis","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Credis_Client","correct":"use Credis_Client;"}],"quickstart":{"code":"use Credis_Client;\n\n$redis = new Credis_Client('localhost');\n$redis->set('key', 'value');\necho $redis->get('key');","lang":"php","description":"Connect to Redis and perform basic operations."},"warnings":[{"fix":"Install phpredis extension for better performance.","message":"Uses phpredis for performance if available; otherwise falls back to native PHP implementation.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'avail':20 'better':22 'cach':25 'credi':1,2 'interfac':6 'key':11,27 'key-valu':10,26 'librari':18 'lightweight':5 'perform':23 'phpredi':17,29 'redi':9,24 'store':13 'valu':12,28 'wrap':15","created_at":"2026-06-19T09:02:24.087020+00:00","updated_at":"2026-06-19T09:02:24.087020+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://github.com/colinmollenhour/credis","github":"https://github.com/colinmollenhour/credis","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","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}}