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

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

uttamrabadiya/console-components
================================

Lightweight PHP package designed to enhance the output of your CLI applications using Termwind &amp; Laravel Prompts

1.0.4(1y ago)25.5k↓30.7%12MITPHPPHP ^8.1

Since Apr 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/uttamrabadiya/console-components)[ Packagist](https://packagist.org/packages/uttamrabadiya/console-components)[ RSS](/packages/uttamrabadiya-console-components/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (2)

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

[](#description)

Console Components is a lightweight PHP package designed to enhance the output of your CLI applications. With Console Components, you can easily print beautiful and formatted output to the terminal using simple methods provided by the package. Say goodbye to dull and monotonous terminal output and give your applications a professional and polished look with Terminal Beautifier.

These components are extracted from Laravel's console package, that helps individual applications outside from Laravel environment.

### Installation:

[](#installation)

You can install Console Components via Composer:

```
composer require uttamrabadiya/console-components
```

### Usage:

[](#usage)

```
use ConsoleComponents\Writer;

Writer::info('Hello World! PHP is beautiful');
```

[![](art/info.png)](art/info.png)

```
use ConsoleComponents\Writer;

Writer::warn('Please check message');
```

[![](art/warn.png)](art/warn.png)

```
use ConsoleComponents\Writer;

Writer::error('Something went wrong!');
```

[![](art/error.png)](art/error.png)

```
use ConsoleComponents\Writer;

Writer::alert('Hello World!');
```

[![](art/alert.png)](art/alert.png)

```
use ConsoleComponents\Writer;

Writer::ask('What would you like to build today?');
Writer::ask('Something secret to ask', hidden: true); // Ask secretly
```

[![](art/ask.png)](art/ask.png)

```
use ConsoleComponents\Writer;

Writer::askWithCompletion('How are you today?', ['Good', 'Better', 'Ok Ok']);
```

[![](art/ask-with-completion.png)](art/ask-with-completion.png)

```
use ConsoleComponents\Writer;

Writer::bulletList(['Item 1', 'Item 2', 'Item 3']);
```

[![](art/bullet-list.png)](art/bullet-list.png)

```
use ConsoleComponents\Writer;

Writer::choice('What are you working on today?', ['Open source application', 'Building Profile', 'Inventing new feature']);
```

[![](art/choice.png)](art/choice.png)

```
use ConsoleComponents\Writer;

Writer::confirm('Are you sure you want to continue?');
```

[![](art/confirm.png)](art/confirm.png)

```
use ConsoleComponents\Writer;

Writer::twoColumnDetail('PHP', 'Installing');
Writer::task('PHP');
```

[![](art/task.png)](art/task.png)

```
use ConsoleComponents\Writer;

Writer::table(['Applications', 'Version'], [['PHP', '8.2'], ['NGINX', 1.2], ['MySQL', 8.0]]);
```

[![](art/table.png)](art/table.png)

License
-------

[](#license)

Console Components is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance40

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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

Every ~58 days

Recently: every ~72 days

Total

6

Last Release

506d ago

Major Versions

0.1.0 → 1.0.02024-05-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/afcff3f85747b7f47a773a91714f83a59d209c79e14ead3a9e4c8d452d87c980?d=identicon)[uttamrabadiya](/maintainers/uttamrabadiya)

---

Top Contributors

[![uttamrabadiya](https://avatars.githubusercontent.com/u/48178542?v=4)](https://github.com/uttamrabadiya "uttamrabadiya (8 commits)")[![JustinByrne](https://avatars.githubusercontent.com/u/14056930?v=4)](https://github.com/JustinByrne "JustinByrne (1 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[laravel/octane

Supercharge your Laravel application's performance.

4.0k26.6M223](/packages/laravel-octane)[whatsdiff/whatsdiff

See what's changed in your project's dependencies

771.2k](/packages/whatsdiff-whatsdiff)

PHPackages © 2026

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