PHPackages                             corex/terminal - 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. corex/terminal

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

corex/terminal
==============

Classes and helpers for terminal (based in league/climate + a little more)

2.3.0(6y ago)079MITPHPPHP ^7.2

Since Aug 27Pushed 6y agoCompare

[ Source](https://github.com/corex/terminal)[ Packagist](https://packagist.org/packages/corex/terminal)[ RSS](/packages/corex-terminal/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (5)Versions (10)Used By (0)

Terminal
========

[](#terminal)

[![License](https://camo.githubusercontent.com/5e5626f25dec0cbd4400b1e9e25c241ac6f23e360662f8f4956ed333ed40058b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f7265782f7465726d696e616c2e737667)](https://camo.githubusercontent.com/5e5626f25dec0cbd4400b1e9e25c241ac6f23e360662f8f4956ed333ed40058b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f7265782f7465726d696e616c2e737667)[![Build Status](https://camo.githubusercontent.com/72f7b948387080551fee0992436fde01d00cf351e1d4189cd3f3dea18cd93e23/68747470733a2f2f7472617669732d63692e6f72672f636f7265782f7465726d696e616c2e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/72f7b948387080551fee0992436fde01d00cf351e1d4189cd3f3dea18cd93e23/68747470733a2f2f7472617669732d63692e6f72672f636f7265782f7465726d696e616c2e7376673f6272616e63683d6d6173746572)[![codecov](https://camo.githubusercontent.com/de67f7a78b7027a7bd497cc8a2b1b20328bffb32c6e418209bc2f13a33d10e95/68747470733a2f2f636f6465636f762e696f2f67682f636f7265782f7465726d696e616c2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://camo.githubusercontent.com/de67f7a78b7027a7bd497cc8a2b1b20328bffb32c6e418209bc2f13a33d10e95/68747470733a2f2f636f6465636f762e696f2f67682f636f7265782f7465726d696e616c2f6272616e63682f6d61737465722f67726170682f62616467652e737667)

This package is using package league/climate as base. A few basic static methods has been added for easy access.

It is possible to set Symfony output on Console::class.

### Easy access to CLImate

[](#easy-access-to-climate)

CLImate can easily be reached through singleton method climate(). Documentation for CLImate can be found on

```
$climate = Console::climate();
$climate->...
```

### Static often used methods.

[](#static-often-used-methods)

```
// Get width of terminal.
$width = Console::getTerminalWidth();

// Get height of terminal.
$height = Console::getTerminalHeight();

// Show error message(s).
Console::error($messages);

// Show simple message(s) with no styling.
Console::out($messages);

// Show info message(s).
Console::info($messages);

// Show shout message(s).
Console::shout($messages);

// Show warning message(s) in cyan.
Console::warning($messages);

// Show table with option to set new headers.
Console::table(array $rows, array $headers = []);
```

### Additional static methods.

[](#additional-static-methods)

```
// Show separator (default length = 80. Can be changed through setLineLength*).
Console::separator($character = '-');

// Show header (title through ::info() followed by ::separator('=')).
Console::header($title);

// Show properties in a table with properties at the left.
Console::properties(array $properties, $separator = ':');

// Show list of words (same as implode($separator, $words)).
Console::words(array $words, $separator = ', ');
```

### Credits

[](#credits)

This package is heavily based on the awesome work of developers in team league (The League of Extraordinary Packages). All credits for the excellent work goes to them.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

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 ~87 days

Recently: every ~122 days

Total

8

Last Release

2203d ago

Major Versions

1.0.0 → 2.0.02018-12-07

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

2.0.1PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2168107cb28f49e937f963a925553ebac5923aa27cad2e1cf90ddbcabf663d6d?d=identicon)[corex](/maintainers/corex)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/corex-terminal/health.svg)

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

###  Alternatives

[getkirby/cli

Kirby command line interface

6268.7k27](/packages/getkirby-cli)[duncan3dc/console

Create command line php applications using symfony/console

17263.4k2](/packages/duncan3dc-console)[soy-php/soy

PHP task runner focused on clean syntax and allowing flexible implementation

6612.1k10](/packages/soy-php-soy)

PHPackages © 2026

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