PHPackages                             php-tool-kit/text-ui - 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. php-tool-kit/text-ui

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

php-tool-kit/text-ui
====================

A simple and fast way to take user input and display output in text mode using PHP.

v1.0.0RC(1y ago)09MITHTMLPHP ^8.3

Since Oct 21Pushed 1y agoCompare

[ Source](https://github.com/php-tool-kit/text-ui)[ Packagist](https://packagist.org/packages/php-tool-kit/text-ui)[ Docs](https://github.com/php-tool-kit/text-ui)[ RSS](/packages/php-tool-kit-text-ui/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

Text UI
=======

[](#text-ui)

A simple and fast way to take user input and display output in text mode using PHP.

Intro
-----

[](#intro)

Text UI is a development library that provides classes for text-based input and output.

It has two main categories of classes: `TextUI\Input` for user input, and `TextUI\Output` for displaying output to the user.

Usage is quite simple:

```
$widget = new new TextUI\Input\TextEntry('Enter de text: ');
echo "You entered '{$widget->read()}'".PHP_EOL;
```

Installation
------------

[](#installation)

The recommended installation method is via [Composer](https://getcomposer.org/):

`composer require php-tool-kit/text-ui`

Examples
--------

[](#examples)

Look at the `examples` directory for basic usage examples.

Documentation
-------------

[](#documentation)

See [Documentation page](https://php-tool-kit.github.io/text-ui/html/index.html).

Licence
-------

[](#licence)

Library licensed under the MIT license (in the LICENCE file).

Team
----

[](#team)

The team *soy yo*, [Everton da Rosa](https://everton3x@gmail.com).

Contributing
------------

[](#contributing)

Contributions are always welcome.

To do this, fork, create a branch, code, send a pool request.

Before submitting your contribution, preferably use PHPStan, PHPMD and PHPCS.

```
composer run phpstan
composer run phpmd
composer run phpcbf
composer run phpcs
```

It is also important that you create an issue explaining the purpose of the contribution and summarizing what you are doing, referencing this in the pool request.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

574d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/582620?v=4)[Everton da Rosa](/maintainers/everton3x)[@everton3x](https://github.com/everton3x)

---

Top Contributors

[![everton3x](https://avatars.githubusercontent.com/u/582620?v=4)](https://github.com/everton3x "everton3x (35 commits)")

---

Tags

consoleterminalwidgettuitext user interface

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/php-tool-kit-text-ui/health.svg)

```
[![Health](https://phpackages.com/badges/php-tool-kit-text-ui/health.svg)](https://phpackages.com/packages/php-tool-kit-text-ui)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[league/climate

PHP's best friend for the terminal. CLImate allows you to easily output colored text, special formats, and more.

1.9k14.0M273](/packages/league-climate)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[php-school/cli-menu

A command line menu helper in PHP

2.0k1.1M27](/packages/php-school-cli-menu)[recca0120/terminal

run laravel artisan command in web application

878410.9k2](/packages/recca0120-terminal)[aplus/cli

Aplus Framework CLI Library

2301.7M6](/packages/aplus-cli)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
