PHPackages                             mannydmorales/console - 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. mannydmorales/console

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

mannydmorales/console
=====================

A utility library for interacting with the console.

v2.0.0(1y ago)1634MITPHPPHP &gt;=8.0

Since Nov 18Pushed 1y ago2 watchersCompare

[ Source](https://github.com/mannydmorales/php-console)[ Packagist](https://packagist.org/packages/mannydmorales/console)[ Docs](https://opensource.mannydmorales.com/console)[ RSS](/packages/mannydmorales-console/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Console Library (PHP)
=====================

[](#console-library-php)

Description
-----------

[](#description)

This library provides utility functions to interact with the console. Helpfull for console applications.

Features
--------

[](#features)

- Stylize outputs (Formatting includes: font color, background color, bold, hide for passwords, etc)
- Ask for user input: (Password, Prompt, Selects, Multi-Select, Confirm)
- Progress Bar
- Print formatted Usage Table
- Output to STDOUT and STDERR
- Clear Screen
- Console Size Detection
- Check OS type: isWindows, isMac, isLinux

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

[](#installation)

To install the library (using composer):

1. `composer require mannydmorales/console`
2. Include the composer autoloader ```
    require __DIR__.'/vendor/autoload.php';
    ```

To install the library (if not using composer):

1. Clone/Download the repository
2. Include the *autoload.php* script in your application ```
    require 'path/to/install/autoload.php';
    ```

Usage
-----

[](#usage)

Please view the examples located in the [examples/](examples) directory.

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

[](#contributing)

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License
-------

[](#license)

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

Contact
-------

[](#contact)

For any questions or suggestions, please contact .

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance40

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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

536d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e4270bf32188f4d424b07cfc8c1eb329ccf6156978350f3e7c15ed547a14e50?d=identicon)[mannydmorales](/maintainers/mannydmorales)

---

Tags

cliconsoleterminal

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mannydmorales-console/health.svg)

```
[![Health](https://phpackages.com/badges/mannydmorales-console/health.svg)](https://phpackages.com/packages/mannydmorales-console)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.2k](/packages/symfony-console)[php-school/cli-menu

A command line menu helper in PHP

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

Comprehensive TUI library heavily influenced by Ratatui

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

Aplus Framework CLI Library

2301.7M6](/packages/aplus-cli)[splitbrain/php-cli

Easy command line scripts for PHP with opt parsing and color output. No dependencies

177817.2k28](/packages/splitbrain-php-cli)[php-school/terminal

A command line terminal utility in PHP

21961.6k2](/packages/php-school-terminal)

PHPackages © 2026

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