bagart/ask-client-redis

Fully asynchronous Redis client library built on top of BAGArt/AsyncKernel. Fiber-based, promise-driven, transport-agnostic inside ASK ecosystem.

Maintainers

Package info

github.com/bagart/php-async-kernel-client-redis

pkg:composer/bagart/ask-client-redis

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-07-21 08:20 UTC

This package is not auto-updated.

Last update: 2026-07-23 17:18:26 UTC


README

Redis client library for the Async Kernel stack.

Provides two parallel client paths:

  • AsyncASKRedisClient sends commands through the ASK pipeline (Operation DTOs → ASKClient → Transport → TCP socket with RESP protocol)
  • SyncPhpRedisAdapter wraps the phpredis extension directly via RedisClientContract

Infrastructure classes (cache, lockers, queue, job state) use the sync path and implement contracts from bagart/async-kernel and bagart/ask-client.

Requirements

  • PHP 8.2+
  • ext-redis (phpredis)

Installation

composer require bagart/ask-client-redis

Depends on bagart/async-kernel and bagart/ask-client.

Architecture

Async path:  ASKRedisClient → Operation DTO → ASKClient → Middleware → Pipeline → ASKRedisTransport → Redis
Sync path:   PhpRedisClient → phpredis extension → Redis

See agent.md for full architectural context.