PHPackages                             autoframe/cli-tools - 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. autoframe/cli-tools

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

autoframe/cli-tools
===================

Cli Prompt, Text styles Bold, Italic, Blink, Underline, Text colors, Background colors...

1.0.0(2y ago)029MITPHPPHP &gt;=7.4

Since Apr 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/autoframe/cli-tools)[ Packagist](https://packagist.org/packages/autoframe/cli-tools)[ Docs](https://github.com/autoframe)[ RSS](/packages/autoframe-cli-tools/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Autoframe is a low level framework that is oriented on SOLID flexibility
========================================================================

[](#autoframe-is-a-low-level-framework-that-is-oriented-on-solid-flexibility)

[![License: The 3-Clause BSD License](https://camo.githubusercontent.com/b46a0ca0ffbdc018e90b5af66ba0be2298a5c0424c0829f2bb3535eff827dd34/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6175746f6672616d652f636c692d746f6f6c73)](https://opensource.org/license/bsd-3-clause/)[![Packagist Version](https://camo.githubusercontent.com/5013f0fc678df33edc7efbd18122dce9b53a07febb35310f0f4ba9f469ccb3b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6175746f6672616d652f636c692d746f6f6c733f6c6162656c3d7061636b6167697374253230737461626c65)](https://camo.githubusercontent.com/5013f0fc678df33edc7efbd18122dce9b53a07febb35310f0f4ba9f469ccb3b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6175746f6672616d652f636c692d746f6f6c733f6c6162656c3d7061636b6167697374253230737461626c65)[![Downloads](https://camo.githubusercontent.com/387d9d863c428761b6877a3863e54f8fccb502b9a29ac1142b434e91dd2cdff1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6175746f6672616d652f636c692d746f6f6c732e737667)](https://packagist.org/packages/autoframe/components-socket-cache)

*Cli Prompt, Text styles Bold, Italic, Blink, Underline, Text colors, Background colors...*

**Examples**

[![Examples](https://camo.githubusercontent.com/7815b7153e50d74c3a2bf013959940a337255aa931ea265747bc8aad58c7b449/68747470733a2f2f696d673030312e70726e747363722e636f6d2f66696c652f696d673030312f6a3661446b4c6335536b47306a4d614b78504d536d772e706e67)](https://camo.githubusercontent.com/7815b7153e50d74c3a2bf013959940a337255aa931ea265747bc8aad58c7b449/68747470733a2f2f696d673030312e70726e747363722e636f6d2f66696c652f696d673030312f6a3661446b4c6335536b47306a4d614b78504d536d772e706e67)

```
`AfrCliPromptMenu`

use Autoframe\CliTools\AfrCliPromptMenu;

        if (!AfrCliPromptMenu::insideCli()) {
            echo 'The script does not run inside CLI!' . PHP_EOL;
            return;
        }

        $options = [
            'Mercedes',
            'Audi',
            'Porsche',
        ];

        $user_choice = AfrCliPromptMenu::promptMenu(
            "Select your dream car",
            $options,
            $options[1]
        );
        print PHP_EOL . "You chose: '$user_choice'\n";
```

---

```
`AfrCliTextColors`

use Autoframe\CliTools\AfrCliTextColors;

AfrCliTextColors::getInstance()->
        bgBlueLight('Hello ')->
        bgDefaultAllColorStyle( 'my ')->
        styleBold(true)->
        textAppend('bold ')->
        colorGreen('World! ')->
        styleBold(false)->
        bgMagenta('How ')->
        styleInvert(true)->
        textAppend('Inverted ')->
        styleInvert(false)->
        bgCyanLight()->
        colorYellowLight('is the ')->
        styleItalic(true)->
        colorRed('rainbow?')->
        styleDefaultAllBgColor()->
        textPrint();
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

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

798d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/34517931?v=4)[Software Engineering Brasov](/maintainers/autoframe)[@autoframe](https://github.com/autoframe)

---

Top Contributors

[![autoframe](https://avatars.githubusercontent.com/u/34517931?v=4)](https://github.com/autoframe "autoframe (2 commits)")

---

Tags

Cli PromptCLi ColorsCli Background ColorsCli Bold textCli ItalicCli UnderlineCli blinkisCli

### Embed Badge

![Health badge](/badges/autoframe-cli-tools/health.svg)

```
[![Health](https://phpackages.com/badges/autoframe-cli-tools/health.svg)](https://phpackages.com/packages/autoframe-cli-tools)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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