NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2973 most downloaded on Packagist
PHP worker for the RoadRunner TCP plugin: handle raw TCP connection events and data in RoadRunner workers
Latest stable
4.3.1
Last release 1 months ago
19 Oct 2026
Ships fairly regularly
a new release about every 9 months
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
10 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
require roadrunner/roadrunner instead of spiral/roadrunner
rename the package to roadrunner/tcp
Your coding agent can read these notes before it upgrades. Set up the MCP server →
migrate tests to Testo, require PHP 8.2
Update composer.json to support roadrunner v2025.1 by @wispoz in https://github.com/roadrunner-php/tcp/pull/12
Full Changelog: https://github.com/roadrunner-php/tcp/compare/v4.1.0...v4.1.1
Added support for RoadRunner v2024.1 by @msmakouz in https://github.com/roadrunner-php/tcp/pull/11
Full Changelog: https://github.com/roadrunner-php/tcp/compare/v4.0.0...v4.1.0
The visibility of the property remoteAddr has been changed from public to private. Use the getRemoteAddress method to access the property value.
Spiral\RoadRunner\Tcp\Request ChangesremoteAddr has been changed from public to private. Use the getRemoteAddress method to access the property value.event has been changed from public to private. Use the getEvent method to access the property value.body has been changed from public to private. Use the getBody method to access the property value.connectionUuid has been changed from public to private. Use the getConnectionUuid method to access the property value.server has been changed from public to private. Use the getServer method to access the property value.Added interface Spiral\RoadRunner\Tcp\RequestInterface. The class Spiral\RoadRunner\Tcp\Request now implements this new interface.
Spiral\RoadRunner\Tcp\RequestInterface. The class Spiral\RoadRunner\Tcp\Request now implements this new interface.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
Added metapackage spiral/roadrunner:^2023
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.Spiral\RoadRunner\Tcp\Request ChangesSpiral\RoadRunner\Tcp\TcpWorkerInterface ChangesIt 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
Fixes event name by @butschster in https://github.com/spiral/roadrunner-tcp/pull/2
Full Changelog: https://github.com/spiral/roadrunner-tcp/compare/v2.0.0...v2.0.1
Initial release of RoadRunner TCP plugin api library.
One column per quarter.