redis resp protocol encoder/decoder

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/chaseisabelle/resphp

v0.0.2 2020-10-13 15:05 UTC

This package is auto-updated.

Last update: 2025-09-14 02:46:25 UTC


README

a library for encoding/decoding the redis resp protocol

install

using composer

composer install chaseisabelle/resphp

encoding

$encoded = \ChaseIsabelle\RESPHP\Encoder::encode([
    'simple string',
    'bulk stringĀ”',
    1,
    null, 
    []
]);

decoding

$decoded = \ChaseIsabelle\RESPHP\Decoder::decode($encoded);