jfcherng/php-color-output
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| kevinlebrun/colors.php | 0.84 | 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 | 66K | 3 | 3.6 | 32.3 | MIT | — | |
| php-parallel-lint/php-console-highlighter | 0.82 | 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 | 89 | 6 | 680K | 0 | 21.3 | 63.1 | MIT | 4 years ago | |
| codedungeon/php-cli-colors | 0.81 | 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. | 102 | 105 | 3 | 259K | 0 | 0.6 | 47.0 | MIT | — | |
| php-parallel-lint/php-console-color | 0.81 | 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 | 89 | 7 | 669K | 0 | 21.6 | 63.2 | BSD-2-Clause | 4 years ago | |
| consolidation/annotated-command | 0.79 | PHP library for building CLI commands from annotations/attributes. Define command names, options, arguments, and hooks in docblocks, then let it parse input and run methods. Used by Drush and other tools for fast, structured command definitions. | 225 | — | 40 | — | 19 | 8.4 | 8.2 | NOASSERTION | — | |
| jfcherng/php-diff | 0.74 | Generate diffs between two strings in PHP with multiple renderers: unified/context text, JSON, and rich HTML (inline, side-by-side, combined). Includes configurable differ/renderer options and helper CSS for easy HTML diff styling. | 470 | 474 | 51 | 199K | 5 | 34.5 | 43.9 | BSD-3-Clause | 3 days ago |
How can I help you explore Laravel packages today?