Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Redis Protocol Laravel Package

clue/redis-protocol

Async Redis protocol implementation for PHP. Provides a low-level RESP encoder/decoder and streaming parser for building Redis clients and proxies, often used with ReactPHP. Lightweight, focused, and transport-agnostic for TCP/TLS connections.

View on GitHub
Deep Wiki
Context7
0.3.2
  • Feature: Improve PHP 8.4+ support by avoiding implicitly nullable types. (#19 by @clue)

  • Update project structure, homepage and examples. Add .gitattributes to exclude dev files from exports. (#16, #20, #21 and #22 by @clue)

  • Update test suite to use GitHub actions for continuous integration (CI), run tests on all PHP versions up to PHP 8.3 and ensure 100% code coverage. (#15 by @SimonFrings and #17 and #18 by @clue)

0.3.1
  • Fix: Fix server-side parsing of legacy inline protocol when multiple requests are processed at once (#12 by @kelunik and #13 by @clue)
0.3.0
  • Feature: Add dedicated and faster RequestParser that also support the old inline request protocol.

  • Feature: Message serialization can now be handled directly by the Serializer again without having to construct the appropriate model first.

  • BC break: The Factory now has two distinct methods to create parsers:

    • createResponseParser() for a client-side library
    • createRequestParser() for a server-side library / testing framework
  • BC break: Simplified parser API, now pushIncoming() returns an array of all parsed message models.

  • BC break: The signature for getting a serialized message from a model was changed and now requires a Serializer passed:

    ModelInterface::getMessageSerialized($serializer)
    
    • Many, many performance improvements
0.2.0
  • Re-organize the whole API into dedicated

    • Parser (protocol reader) and
    • Serializer (protocol writer) sub-namespaces. (#4)
  • Use of the factory has now been unified:

    $factory = new Clue\Redis\Protocol\Factory();
    $parser = $factory->createParser();
    $serializer = $factory->createSerializer();
    
  • Add a dedicated Model for each type of reply. Among others, this now allows you to distinguish a single line StatusReply from a binary-safe BulkReply. (#2)

  • Fix parsing binary values and do not trip over trailing/leading whitespace. (#4)

  • Improve parser and serializer performance by up to 20%. (#4)

0.1.0
  • First tagged release
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport