bramus/ansi-php
bramus/ansi-php is a lightweight PHP library for working with ANSI escape codes in the terminal. Easily colorize and style CLI output, move the cursor, clear sections of the screen, and build richer command-line interfaces with minimal setup.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sensiolabs/ansi-to-html | 0.87 | Convert ANSI-colored console output into an HTML5 fragment. Supports themes (e.g., Solarized), inline styles or CSS classes, can export theme CSS, and includes a Twig extension for easy use in templates. | 253 | 257 | 37 | 108K | 9 | 5.2 | 39.7 | MIT | — | |
| 21torr/cli | 0.84 | — | 0 | 0 | 2 | 717 | 0 | 17.7 | 44.3 | MIT | 3 months ago | |
| phppkg/cli-markdown | 0.84 | CLI-Markdown renders Markdown with ANSI colors in your terminal. Built on cebe/markdown and toolkit/cli-utils, it supports automatic color rendering and customizable CLI color tags. Load Markdown text, call render(), and echo the result for a styled console output. | 10 | 11 | 2 | 2K | 3 | 2.4 | 32.1 | MIT | 1 year ago | |
| jakub-onderka/php-console-highlighter | 0.84 | Abandoned package for syntax-highlighting PHP code in the terminal using ANSI colors. Provides a Highlighter that outputs highlighted whole-file or snippet content for CLI display. Suggested alternative: php-parallel-lint/PHP-Console-Highlighter. | 6,166 | 5,952 | 17 | 311K | 0 | 27.3 | 23.6 | MIT | 7 years ago | |
| barthy-koeln/bash-echolorized | 0.83 | 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 | |
| jakub-szajna/lint-pack | 0.83 | Laravel package that adds a linter command to the Artisan CLI, helping you run code style and lint checks from the command line during development and CI. Designed to integrate into typical Laravel workflows for quick, repeatable quality checks. | 2 | 3 | 0 | 0 | 0 | 0.3 | — | MIT | 10 years ago | |
| symfony/console | 0.83 | Symfony Console makes it easy to build beautiful, testable command-line applications in PHP. It provides structured commands, arguments and options, interactive prompts, styled output, helpers, and robust input/output handling for modern CLIs. | 9,810 | 9,996 | 266 | 18M | 0 | 66.0 | 52.5 | MIT | 2 weeks 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 | |
| pdphilip/omniterm | 0.82 | Laravel terminal UI toolkit: write Artisan/CLI output as HTML with Tailwind-style classes and OmniTerm renders it to ANSI. Includes truecolor with fallback, gradients, arbitrary RGB, and content repeat, plus ready-made components like status messages, tables, progress bars, spinners, and live tasks. | 0 | 1 | — | 7K | — | 1.5 | 53.9 | — | — | |
| alexeyshockov/plain-commands | 0.82 | — | 2 | 2 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| bramus/monolog-colored-line-formatter | 0.82 | Adds a colored line formatter for Monolog, making console log output easier to scan with ANSI colors. Works as a drop-in formatter to highlight log levels, timestamps, and messages for CLI tools, workers, and development environments. | 141 | 142 | 18 | 95K | 4 | 2.5 | 40.4 | MIT | — | |
| league/climate | 0.82 | League CLImate makes PHP CLI output nicer with easy colored text, formatting, and styled messages. Install via Composer and use simple methods like red() or blue() to print readable, attention-grabbing console output for scripts and command-line tools. | 1,890 | 1,938 | 124 | 236K | 13 | 17.0 | 33.1 | MIT | — | |
| amf/console-bundle | 0.82 | — | 1 | 1 | 2 | 0 | 3 | 0.4 | 0.3 | — | — | |
| spatie/color | 0.81 | PHP library for color parsing, conversion, and comparison. Supports CSS named colors plus RGB/RGBA/ARGB, Hex, HSL/HSLA, HSB, CMYK, CIELab, and XYZ. Includes WCAG contrast ratio and Delta E distances (CIE76, CIE94, CIEDE2000). | 382 | 385 | 41 | 740K | 0 | 23.9 | 50.6 | MIT | 4 months ago | |
| ozdemirburak/iris | 0.81 | Iris is a PHP 8.1+ color library for parsing, manipulating, and converting colors across Hex/Hexa, RGB/RGBA, HSL/HSLA, HSV, CMYK, and OKLCH. Provides format classes with channel accessors and easy toX() conversions. | 120 | 122 | 21 | 44K | 0 | 21.8 | 39.7 | MIT | 4 months ago | |
| php-parallel-lint/php-console-color | 0.80 | 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 | |
| jfcherng/php-color-output | 0.80 | 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 | |
| mischiefcollective/colorjizz | 0.79 | ColorJizz-PHP is a lightweight color library for converting and manipulating colors across formats like RGB, CMYK, Hex, HSV, CIELab/LCh, XYZ, and Yxy. Supports chaining operations (hue, saturation, greyscale) while keeping originals immutable. | 285 | 286 | 32 | 5K | 5 | 3.9 | 19.8 | — | — | |
| codedungeon/php-cli-colors | 0.79 | 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 | 167K | 0 | 0.6 | 44.3 | MIT | — | |
| code-lts/cli-tools | 0.79 | — | 2 | 3 | 0 | 5K | 0 | 15.0 | 48.6 | MPL-2.0 | 4 months ago |
How can I help you explore Laravel packages today?