PHPackages                             konradmichalik/console-style-kit - 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. konradmichalik/console-style-kit

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

konradmichalik/console-style-kit
================================

Symfony Console Style Helper Extensions

0.1.0(8mo ago)01.0kGPL-3.0-or-laterPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0CI passing

Since Sep 7Pushed 8mo agoCompare

[ Source](https://github.com/jackd248/console-style-kit)[ Packagist](https://packagist.org/packages/konradmichalik/console-style-kit)[ RSS](/packages/konradmichalik-console-style-kit/feed)WikiDiscussions main Synced 1mo ago

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

Console Style Kit
=================

[](#console-style-kit)

A PHP package for creating consistent and beautiful console output with various styling elements.

Warning

This package is in early development and may change significantly.

🔥 Installation
--------------

[](#-installation)

```
composer require konradmichalik/console-style-kit
```

⚡ Usage
-------

[](#-usage)

### Simple API

[](#simple-api)

```
use ConsoleStyleKit\ConsoleStyleKit;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\ConsoleOutput;

$style = new ConsoleStyleKit(new ArrayInput([]), new ConsoleOutput());

$style->blockquote('Important message', 'INFO');
$style->rating(5, 4);
$style->showBadge('SUCCESS');
$style->loading('Processing data', 3);
$loading = $style->loading('Processing');
// ... do work
$loading->stop();
```

Note

Auto-update mode requires `declare(ticks=1)` at the top of your PHP file to enable tick functions. The animation will update automatically on every PHP statement execution, providing smooth animation during long-running operations without any manual intervention. Always call `->start()` after `->enableAutoUpdate()` to ensure proper initialization.

### Object-Oriented API

[](#object-oriented-api)

```
use ConsoleStyleKit\Elements\BlockquoteElement;
use ConsoleStyleKit\Elements\RatingElement;
use ConsoleStyleKit\Elements\BadgeElement;
use ConsoleStyleKit\Elements\LoadingElement;
use ConsoleStyleKit\Enums\BlockquoteType;
use ConsoleStyleKit\Enums\RatingStyle;
use ConsoleStyleKit\Enums\BadgeColor;
use ConsoleStyleKit\Enums\LoadingCharacterSet;

BlockquoteElement::create($style, 'Enhanced blockquote', BlockquoteType::WARNING)->render();
RatingElement::circle($style, 5, 4, true)->render();
BadgeElement::create($style, 'CUSTOM')->setColor(BadgeColor::BLUE)->render();
```

### Output Examples

[](#output-examples)

```
# Blockquote with type
┃ WARNING
┃ This is a warning message

# Rating display
● ● ● ● ○ (4/5)

# Badge
 SUCCESS

# Timeline
● 2024-01-01 ─ Project Start
│
● 2024-06-01 ─ Milestone Reached
│
● 2024-12-01 ─ Project Complete

# Loading Animation
⠋ Processing data …
```

### Available Elements

[](#available-elements)

- **Blockquotes**: INFO, TIP, IMPORTANT, WARNING, CAUTION
- **Ratings**: Circle and bar styles with colorful options
- **Badges**: Various colors and semantic types
- **Separators**: Customizable width and characters
- **Key-Value pairs**: With arrows and colors
- **Timeline**: Multi-event display with custom connectors
- **Loading animations**: Animated progress indicators with multiple styles and character sets

🧑‍💻 Contributing
----------------

[](#‍-contributing)

Contributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.

⭐ License
---------

[](#-license)

Licensed under GPL-3.0-or-later. See [LICENSE](LICENSE.md) for details.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance61

Regular maintenance activity

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

248d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11557705846f24da32a0e6e75c460db505c1b847f081ddaa3d27f3ea27f4097b?d=identicon)[konradmichalik](/maintainers/konradmichalik)

---

Top Contributors

[![konradmichalik](https://avatars.githubusercontent.com/u/4558190?v=4)](https://github.com/konradmichalik "konradmichalik (12 commits)")

---

Tags

symfonysymfony-console

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/konradmichalik-console-style-kit/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[phpcr/phpcr-shell

Shell for PHPCR

721.3M8](/packages/phpcr-phpcr-shell)[madewithlove/license-checker

CLI tool to verify allowed licenses for composer dependencies

54449.8k21](/packages/madewithlove-license-checker)[shel/neos-terminal

Neos CMS Ui terminal for running Eel expressions and other commands

1441.3k](/packages/shel-neos-terminal)

PHPackages © 2026

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