PHPackages                             clue/term-react - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. clue/term-react

ActiveLibrary[CLI &amp; Console](/categories/cli)

clue/term-react
===============

Streaming terminal emulator, built on top of ReactPHP.

v1.4.0(2y ago)10410.2M—0.5%7[1 PRs](https://github.com/clue/reactphp-term/pulls)2MITPHPPHP &gt;=5.3

Since Jun 3Pushed 2y ago5 watchersCompare

[ Source](https://github.com/clue/reactphp-term)[ Packagist](https://packagist.org/packages/clue/term-react)[ Docs](https://github.com/clue/reactphp-term)[ Fund](https://clue.engineering/support)[ GitHub Sponsors](https://github.com/clue)[ RSS](/packages/clue-term-react/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (10)Used By (2)

clue/reactphp-term
==================

[](#cluereactphp-term)

[![CI status](https://github.com/clue/reactphp-term/actions/workflows/ci.yml/badge.svg)](https://github.com/clue/reactphp-term/actions)[![installs on Packagist](https://camo.githubusercontent.com/fa8687a51859e743f929826f81d3eb780c3d483b821cd6eb9a2da6cda08bcae9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c75652f7465726d2d72656163743f636f6c6f723d626c7565266c6162656c3d696e7374616c6c732532306f6e2532305061636b6167697374)](https://packagist.org/packages/clue/term-react)

Streaming terminal emulator, built on top of [ReactPHP](https://reactphp.org/).

**Table of Contents**

- [Support us](#support-us)
- [Usage](#usage)
    - [ControlCodeParser](#controlcodeparser)
- [Install](#install)
- [Tests](#tests)
- [License](#license)
- [More](#more)

Support us
----------

[](#support-us)

We invest a lot of time developing, maintaining and updating our awesome open-source projects. You can help us sustain this high-quality of our work by [becoming a sponsor on GitHub](https://github.com/sponsors/clue). Sponsors get numerous benefits in return, see our [sponsoring page](https://github.com/sponsors/clue)for details.

Let's take these projects to the next level together! 🚀

Usage
-----

[](#usage)

### ControlCodeParser

[](#controlcodeparser)

The `ControlCodeParser(ReadableStreamInterface $input)` class can be used to parse any control code byte sequences (ANSI / VT100) when reading from an input stream and it only returns its plain data stream. It wraps a given `ReadableStreamInterface` and exposes its plain data through the same interface.

```
