clue/term-react
Streaming terminal emulator for ReactPHP. Includes ControlCodeParser stream wrapper to strip ANSI/VT100 control sequences from input, buffering incomplete sequences so emitted data is always plain text for reliable processing.
Adopt if:
Look elsewhere if:
phpseclib or pty wrappers).For Executives: "This package lets us embed real-time terminal functionality into our web apps—think live debugging, admin command execution, or interactive dev tools—without reinventing the wheel. It’s now fully compatible with PHP 8.3, includes improved docs and CI for reliability, and reduces dev overhead. Ideal for internal tools or features where CLI interaction adds value (e.g., [specific use case]). Low risk, high ROI for developer productivity."
For Engineering: "The package now supports PHP 8.3, has a stronger test suite, and includes GitHub Actions CI—meaning fewer integration headaches. Docs/examples are clearer, and the active maintenance (e.g., recent PRs) suggests long-term viability. Perfect for [specific feature] where we need lightweight terminal integration. Tradeoff: Limited to PHP/Laravel, but that aligns with our stack."
How can I help you explore Laravel packages today?