codedungeon/php-cli-colors
Add ANSI color codes to PHP CLI output with simple constants. Use Color::GREEN, Color::RESET, etc. to style messages in console apps. Lightweight, zero-config, and easy to drop into any Composer-based project.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jfcherng/php-color-output | 0.88 | Lightweight PHP utility to add ANSI colors and styles to CLI output. Provides named foreground/background styles, special effects (bold, underline, blink, reverse), aliases, and a simple CliColor::color() helper to format strings for terminals. | 14 | 14 | 2 | 227K | 0 | 0.4 | 55.3 | MIT | 5 years ago | |
| kevinlebrun/colors.php | 0.86 | A lightweight PHP library for working with colors: parse and validate HEX/RGB/HSL, convert between formats, generate palettes, adjust brightness/saturation, and compute contrast/accessible text colors. Handy utilities for theming and UI design in PHP apps. | 342 | 359 | 37 | 85K | 3 | 3.6 | 33.8 | MIT | — | |
| php-parallel-lint/php-console-color | 0.86 | Adds easy, cross-platform console text styling for PHP: colors, background colors, and formatting like bold/underline. Lightweight, dependency-free, and commonly used in CLI tools to improve readability of output and error messages. | 85 | 88 | 7 | 701K | 0 | 1.7 | 54.0 | BSD-2-Clause | 4 years ago | |
| jakub-onderka/php-console-color | 0.83 | Abandoned PHP library for styling console output with ANSI colors. Formerly used to print colored text in terminals (see example.php). Consider using the maintained alternative: https://github.com/php-parallel-lint/PHP-Console-Color | 6,120 | 5,930 | 24 | 358K | 2 | 26.7 | 24.5 | BSD-2-Clause | 7 years ago | |
| barthy-koeln/bash-echolorized | 0.82 | Minimal bash helper for clean, colorized CLI output in CI/CD scripts and git hooks. Source it via Composer or npm/yarn and use e_info/e_success/e_warning/e_error plus colored_output and tagged_output for readable, tagged status lines. | 2 | 2 | 0 | 0 | 0 | 0.6 | — | MIT | 4 years ago | |
| php-school/terminal | 0.81 | php-school/terminal is a PHP library for building interactive terminal apps. It provides input/output helpers, ANSI styling, cursor control, and terminal state management, making it easy to create rich CLI UIs with prompts, menus, and formatted output. | 21 | 21 | 6 | 13K | 2 | 1.5 | 38.9 | — | 6 years ago | |
| php-parallel-lint/php-console-highlighter | 0.81 | Highlight PHP source code in the terminal with readable, colorized syntax. php-console-highlighter works with ConsoleColor and can highlight whole files or snippets—ideal for CLI tools, linters, and test output to quickly spot errors and context. | 88 | 88 | 6 | 699K | 0 | 1.4 | 53.8 | MIT | 4 years ago |
How can I help you explore Laravel packages today?