1happyplace/ansi-terminal

PHP Terminal emulator controller utilizing ANSI escape sequence coding.

v1.1 2020-01-06 18:52 UTC

README

The ANSI/Terminal class controls a terminal shell such as bash. It is an abstract base class for Clio and the CLI HTML software. It provides a basic set of methods to command a terminal as well as prompt the user for information.

If you want to use this layer, simply instantiate BasicTerminal, which uses echo for output. BasicTerminal uses verbose and obvious methods, making for quickand easy use for simple requirements. If you want to move on to more capability, Clio provides a more extensive, easily chained language and extensive styling capability, and CLI HTML provides all that, plus full-up text positioning such as lists and tables.

For a full list of methods, see ANSI Terminal.