clue/reactphp-ssh-proxy
Async SSH proxy connector/forwarder for ReactPHP. Tunnel any TCP/IP protocol (HTTP, SMTP, IMAP, databases) through an SSH server using the system ssh binary. Implements ReactPHP ConnectorInterface for drop-in use with existing clients.
Architecture fit: The package is designed for ReactPHP's event loop, making it suitable for async services but incompatible with standard Laravel's synchronous request-response model. Integration would require isolating it to dedicated daemons or CLI tools, not typical web requests.
Integration feasibility: Feasible only for non-web processes (e.g., background workers), but complex for Laravel web apps due to conflicting execution models. Requires separate ReactPHP process management and IPC mechanisms.
Technical risk: Low adoption (21 stars), last release in 2022, and no active maintenance. High risk of PHP 8+ incompatibility, unpatched security flaws, and untested edge cases (e.g., connection timeouts, auth failures).
Key questions: How does it handle SSH key/password auth? Does it support connection retries or auto-recovery? What are the error-handling and logging specifics? Are there conflicts with Laravel's dependency stack (e.g., ReactPHP socket versions)?
Stack fit: Ideal for standalone ReactPHP services or CLI tools but not for Laravel web applications. Only viable if the use case is entirely decoupled (e.g., a dedicated tunneling daemon), not embedded in HTTP routes.
Migration path: For new async services, integrate directly. For existing Laravel apps, build a separate ReactPHP process with socket/message-queue communication. Requires refactoring to avoid blocking the main app’s synchronous flow.
Compatibility: Likely incompatible with Laravel’s default stack. Must verify PHP version support (likely PHP 7.x), and test for conflicts with ReactPHP’s socket components (e.g., react/socket). Requires isolated environment.
Sequ
How can I help you explore Laravel packages today?