Registry / database / colinmollenhour-credis

colinmollenhour-credis

JSON →
library1.17.1phppackagistunverified

Credis is a lightweight interface to the Redis key-value store which wraps the phpredis library when available for better performance.

composer require colinmollenhour/credis
INSTALL
IMPORT
SIG · COLINMOLLENHOUR-CR
C
colinmollenhour-credis
databasephpv1.17.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Credis_Client
✓ use Credis_Client;

Connect to Redis and perform basic operations.

use Credis_Client; $redis = new Credis_Client('localhost'); $redis->set('key', 'value'); echo $redis->get('key');
Debug
Known issues
gotchaUses phpredis for performance if available; otherwise falls back to native PHP implementation.
fix
Install phpredis extension for better performance.
affects: >=1.0.0
Upgrade
Version history
1.17.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
colinmollenhour-credis — pip install colinmollenhour-credis · libregistry