chaseisabelle / resphp
redis resp protocol encoder/decoder
v0.0.2
2020-10-13 15:05 UTC
Requires
- php: >=7.1
Requires (Dev)
- phpunit/phpunit: ^8.4
This package is auto-updated.
Last update: 2024-04-13 23:41:27 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);