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-12-14 01:04:07 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);