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

Product Decisions This Supports

  • Enables building high-performance internal services with custom binary protocols (e.g., IoT device communication, game server logic, or real-time data pipelines) where HTTP overhead is prohibitive.
  • Supports roadmap initiatives requiring ultra-low-latency, persistent connections by leveraging RoadRunner’s worker model to eliminate repeated PHP bootstrapping costs.
  • Justifies "buy over build" for TCP-based communication layers—avoiding custom server implementation while integrating seamlessly with existing Spiral/RoadRunner infrastructure.
  • Prioritizes infrastructure cost reduction by optimizing resource usage for internal RPC or microservice communication versus HTTP-based alternatives.

When to Consider This Package

  • Adopt when:
    • Internal services require raw TCP communication (e.g., non-HTTP protocols like custom binary formats or UDP-like reliability layers).
    • The project already uses RoadRunner for other components (e.g., HTTP workers or queue processing), ensuring consistent tooling and process management.
    • Performance-critical use cases where minimizing request/response latency is non-negotiable (e.g., high-throughput financial data streaming).
  • Look elsewhere when:
    • Standard HTTP(S) is sufficient for public-facing APIs or client-facing services (use spiral/roadrunner-http instead).
    • TLS encryption is required out-of-the-box (this package lacks native TLS support; additional proxy layers would be needed).
    • The team lacks RoadRunner experience or the project is small-scale where HTTP simplicity outweighs TCP performance gains.
    • Broader community support or enterprise-grade features are critical (given the package’s low GitHub stars and niche use case).

How to Pitch It (Stakeholders)

Executives: "This package lets us build internal systems 10x faster with 50% lower resource usage than HTTP-based solutions—cutting infrastructure costs while enabling real-time capabilities for critical workflows like IoT or financial processing. It leverages our existing RoadRunner investment, so we avoid reinventing the wheel and ship high-performance features faster."

Engineering: "It’s a plug-and-play TCP transport for RoadRunner that handles raw socket management so you don’t have to. No more writing custom server logic—just define your binary protocol, integrate with workers, and get production-ready performance with built-in process scaling. Perfect for internal RPC, game servers, or anything where HTTP headers add unnecessary overhead."

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