PHPackages                             shasoft/terminal-write-php - 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. shasoft/terminal-write-php

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

shasoft/terminal-write-php
==========================

Outputting colored text to the console

v1.0.1(8mo ago)002MITPHP

Since Oct 23Pushed 8mo agoCompare

[ Source](https://github.com/shasoft/terminal-write-php)[ Packagist](https://packagist.org/packages/shasoft/terminal-write-php)[ RSS](/packages/shasoft-terminal-write-php/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (2)

Вывод разноцветного текста в консоль с помощью тегов
----------------------------------------------------

[](#вывод-разноцветного-текста-в-консоль-с-помощью-тегов)

Пакет основан на пакете для javascript [terminal-write](https://github.com/shasoft/terminal-write). Позволяет выводить текст различным цветом с помощью тегов.

```
// Очистить экран
Terminal::clear();

// Вывести в одну строку
Terminal::write('Te');
Terminal::write('st');

// Вывести в две строки
Terminal::writeLn('TestInfo');
Terminal::writeLn('WarningInfo');

// Вывести линию заданным цветом заданным символом
Terminal::hr('', '`');

// Добавить тег
Terminal::addTag('Test', '');
// Вывести с использованием добавленного тега
Terminal::writeLn('aaaa');
Terminal::writeLn('bbb');
Terminal::writeLn('ccc');
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance60

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

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

252d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2348125?v=4)[Shasoft](/maintainers/shasoft)[@shasoft](https://github.com/shasoft)

---

Tags

consolecolorprintoutput

### Embed Badge

![Health badge](/badges/shasoft-terminal-write-php/health.svg)

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

###  Alternatives

[kevinlebrun/colors.php

Colors for PHP CLI scripts

3427.0M46](/packages/kevinlebrun-colorsphp)[alecrabbit/php-console-spinner

Extremely flexible spinner for \[async\] php cli applications

24038.0k2](/packages/alecrabbit-php-console-spinner)[inhere/console

php console library, provide console argument parse, console controller/command run, color style, user interactive, information show.

3517.6k12](/packages/inhere-console)[alecrabbit/php-cli-snake

Lightweight cli spinner with zero dependencies

29216.7k5](/packages/alecrabbit-php-cli-snake)

PHPackages © 2026

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