Registry / database / swoft-redis

swoft-redis

JSON →
library2.0.11phppackagistunverified

Swoft redis component.

composer require swoft/redis
INSTALL
IMPORT
SIG · SWOFT-REDIS
S
swoft-redis
databasephpv2.0.11
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.

Redis
use Swoft\Redis\Redis;

Connect to Redis and perform basic operations.

use Swoft\Redis\Redis; $redis = Redis::connection(); $redis->set('key', 'value'); echo $redis->get('key');
Debug
Known issues
breakingRequires Swoole extension installed and enabled.
fix
Install swoole extension via pecl install swoole.
affects: >=2.0.0
Upgrade
Version history
2.0.11latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
28
Amazon
1
OpenAI (training)
1
Resources
swoft-redis — pip install swoft-redis · libregistry