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

Stdio React Laravel Package

clue/stdio-react

ReactPHP-based STDIO stream wrapper for non-blocking access to STDIN/STDOUT/STDERR. Enables event-driven CLI apps with readable and writable streams, integrating terminal input/output into the ReactPHP loop for async command-line tools.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

This package enables building truly interactive, non-blocking CLI tools for PHP applications requiring real-time user input/output handling (e.g., deployment wizards, monitoring dashboards, or internal dev tools). It supports roadmap decisions around enhancing developer tooling by eliminating synchronous bottlenecks in CLI workflows, reducing the need for third-party tools (build vs. buy), and ensuring UTF-8 compatibility for global user bases. Key use cases include scenarios where background tasks must run concurrently with user prompts (e.g., live log streaming with interactive commands) or when building cross-platform CLI utilities that require robust terminal interaction.

When to Consider This Package

Adopt this package when:

  • Building PHP-based CLI applications needing async input/output (e.g., multi-step prompts, real-time progress updates).
  • UTF-8 encoding support is critical for internationalized text handling.
  • Your stack already uses ReactPHP for async capabilities (e.g., microservices, event-driven systems).
    Avoid if:
  • Your CLI is simple/synchronous (e.g., basic Artisan commands without real-time interaction).
  • You’re building web applications (this is strictly for console I/O, not HTTP servers).
  • You require newer ReactPHP features or active maintenance (last release was March 2022; check for community support gaps).

How to Pitch It (Stakeholders)

Executives: "This lightweight, MIT-licensed package lets us build responsive, professional-grade CLI tools that improve user productivity—like allowing engineers to interact with deployment workflows without freezing the terminal. It reduces reliance on external tools, cuts operational costs, and aligns with our focus on developer experience for internal and customer-facing utilities."
Engineering: "It provides battle-tested async STDIN/STDOUT handling with UTF-8 support via ReactPHP, ideal for complex CLI workflows where non-blocking I/O is critical. Integrates seamlessly into existing ReactPHP ecosystems, has minimal overhead, and avoids reinventing the wheel for terminal interaction logic."

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