PHP Package: clue/redis-protocol

Efficient PHP library for handling Redis protocol with ease and flexibility.

Current Version: 0.3.2
Last Updated: 2024-08-07
PHP Requirement: >=7.1
Dependencies: phpunit/phpunit, react/promise, clue/stream-filter
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Redis-protocol is a high-performance PHP library designed to simplify the handling of Redis protocol data structures. This library offers a comprehensive set of tools for encoding and decoding Redis commands and responses. With seamless integration and a user-friendly interface, redis-protocol empowers developers to interact with Redis servers effortlessly, boosting productivity and enhancing performance.

🔗 View on GitHub

Download Latest Version: 0.3.2

Download Download v0.3.2

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php

// Example from PHPlibraries.com
require_once 'libs/clue/redis-protocol/0.3.2/autoload.php';

use Clue\RedisProtocol\ProtocolParser;
use Clue\RedisProtocol\ProtocolWriter;
use React\Promise\Promise;
use Clue\StreamFilter\StreamFilter;


$obj = new Clue\RedisProtocol\ProtocolParser();
echo "✅ Example created successfully.";

?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.