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

ActiveLibrary

krzysztofzylka/console
======================

Console helper library

1.0.9(9mo ago)01.4k↓34.6%3MITPHPPHP &gt;=8.3

Since Dec 10Pushed 9mo ago1 watchersCompare

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

READMEChangelog (10)DependenciesVersions (11)Used By (3)

Install
=======

[](#install)

```
composer require krzysztofzylka/console
```

Methods
=======

[](#methods)

Print
-----

[](#print)

```
\Krzysztofzylka\Console\Prints::print('value');
```

Simple print
------------

[](#simple-print)

```
\Krzysztofzylka\Console\Prints::sprint('value');
```

Get args
--------

[](#get-args)

```
\Krzysztofzylka\Console\Args::getArgs($argv)
```

Generate helper
---------------

[](#generate-helper)

```
$help = new \Krzysztofzylka\Console\Generator\Help();
$help->addHeader('Header');
$help->addHelp('Help', 'Help command');
$help->addHelp('Test', 'Test message');
$help->addHeader('Parameters', 'yellow');
$help->addHelp('-parameters', 'test parameters');
$help->addHelp('-very long parameters', 'test parameters');
$help->render();
```

[![](resources/help.png)](resources/help.png)

Form
----

[](#form)

### Input

[](#input)

```
$input = \Krzysztofzylka\Console\Form::input();
$input = \Krzysztofzylka\Console\Form::input('Firstname:');
```

### Prompt

[](#prompt)

```
\Krzysztofzylka\Console\Form::prompt('Continue?');
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance56

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~66 days

Recently: every ~37 days

Total

10

Last Release

294d ago

PHP version history (2 changes)1.0.0PHP &gt;=8.0

1.0.9PHP &gt;=8.3

### Community

Maintainers

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

---

Top Contributors

[![krzysztofzylka](https://avatars.githubusercontent.com/u/41385342?v=4)](https://github.com/krzysztofzylka "krzysztofzylka (13 commits)")

### Embed Badge

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

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

PHPackages © 2026

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