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

Roadrunner Tcp Laravel Package

spiral/roadrunner-tcp

TCP transport for Spiral RoadRunner applications. Provides a simple PHP TCP server/worker communication layer and helpers to read/write payloads over sockets, enabling custom RPC-style messaging and integration where HTTP isn’t required.

View on GitHub
Deep Wiki
Context7
v4.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/roadrunner-php/tcp/compare/v4.1.0...v4.1.1

v4.1.0
v4.0.0

Breaking changes

Spiral\RoadRunner\Tcp\Request Changes

  • The visibility of the property remoteAddr has been changed from public to private. Use the getRemoteAddress method to access the property value.
  • The visibility of the property event has been changed from public to private. Use the getEvent method to access the property value.
  • The visibility of the property body has been changed from public to private. Use the getBody method to access the property value.
  • The visibility of the property connectionUuid has been changed from public to private. Use the getConnectionUuid method to access the property value.
  • The visibility of the property server has been changed from public to private. Use the getServer method to access the property value.
v3.1.0

Features

  • Added interface Spiral\RoadRunner\Tcp\RequestInterface. The class Spiral\RoadRunner\Tcp\Request now implements this new interface.
  • The public properties of the Spiral\RoadRunner\Tcp\Request class are no longer recommended for use; in v4.0, they will be private. It is necessary to use methods to access these properties.

Full Changelog: https://github.com/roadrunner-php/tcp/compare/3.0.0...v3.1.0

3.0.0

Features

  • Upgraded to PHP 8.1
  • Upgraded to PHPUnit 10
  • Upgraded to Psalm 5
  • Added reusable Gh Actions
  • Added metapackage spiral/roadrunner:^2023

New features

  • Spiral\RoadRunner\Tcp\TcpEvent enum which contains constants representing different Tcp events has been introduced.
  • Spiral\RoadRunner\Tcp\TcpResponse enum with constants for common responses has been added.

Breaking changes

Spiral\RoadRunner\Tcp\Request Changes

  • The constructor of the class has been changed, and the parameters are now readonly.

Spiral\RoadRunner\Tcp\TcpWorkerInterface Changes

It has been updated with two new methods:

  • public function respond(string $body, TcpResponse $response = TcpResponse::Respond): void;

Full Changelog: https://github.com/roadrunner-php/tcp/compare/v2.0.1...3.0.0

v2.0.0
  • Initial release of RoadRunner TCP plugin api library.
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
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
twbs/bootstrap4