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

AbandonedArchivedLibrary

w1575/console-color
===================

Console with color themes :)

1.0.4(6y ago)11.0kMITPHP

Since Jan 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/w1575/ConsoleColor)[ Packagist](https://packagist.org/packages/w1575/console-color)[ RSS](/packages/w1575-console-color/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (4)Used By (0)

ConsoleColor
============

[](#consolecolor)

Небольшой класс, который помогает раскрасить текст консольного приложения на php.

Быстрый старт.
--------------

[](#быстрый-старт)

### Установка.

[](#установка)

С помощью composer: `composer require "w1575/console-color @dev"`

### Использование:

[](#использование)

```
use w1575\ConsoleColor;

$console = new ConsoleColor('invert', 120);
//  Пока что есть только 2 темы: default и inert. По-умолчанию используется (ВНЕЗАПНО!) default.
// Второй параметр - максимальная длина строки. используется для переноса длинных строк
$console->title('Заголовок');
$console->text('Обычный текст');
$console->info('Информация');
$console->success('Успешно');
$console->warning('Предупреждение');
$console->danger('Критическая ошибка');
```

Скриншоты:
----------

[](#скриншоты)

[![](images/theme-inverted.png)](images/theme-inverted.png)

[![](images/theme-default.png)](images/theme-default.png)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~0 days

Total

3

Last Release

2309d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22068003?v=4)[w](/maintainers/w1575)[@w1575](https://github.com/w1575)

---

Top Contributors

[![w1575](https://avatars.githubusercontent.com/u/22068003?v=4)](https://github.com/w1575 "w1575 (16 commits)")

### Embed Badge

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

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

PHPackages © 2026

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