Skip to content

Tui

Edit this page

Tui is a PHP library for building rich, interactive terminal user interfaces. It provides a widget toolkit, a CSS-like styling system and an event-driven architecture.

Warning

The Tui component is experimental: its API and behavior may still change, sometimes drastically.

Installation

In applications using Symfony Flex, run this command to install the Tui component before using it:

1
$ composer require symfony/tui

The component requires PHP 8.4.1 or later.

Note

If you install this component outside of a Symfony application, you must require the vendor/autoload.php file in your code to enable the class autoloading mechanism provided by Composer. Read this article for more details.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.
TOC
    Version