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 | 36 | 130K | 9 | 5.2 | 40.8 | MIT | — | |
| adhocore/cli | 0.86 | A lightweight PHP library to build interactive CLI apps with commands, options, prompts, and colored output. Create structured command-line tools quickly, with input helpers and utilities suited for both simple scripts and larger console applications. | 353 | 357 | 38 | 87K | 5 | 13.4 | 34.7 | MIT | 1 year ago | |
| 21torr/cli | 0.84 | — | 0 | 0 | 2 | 496 | 0 | 16.0 | 41.3 | MIT | 8 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 | 1K | 3 | 2.4 | 28.7 | 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,149 | 5,952 | 17 | 330K | 0 | 27.3 | 24.0 | MIT | 8 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. | 3 | 3 | 0 | 0 | 0 | 0.6 | — | MIT | 5 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 | 11 years ago | |
| symfony/console | 0.83 | The Console component eases the creation of beautiful and testable command line interfaces for PHP applications, with support for input/output handling, styling, and argument parsing. | 9,813 | 9,992 | 263 | 18M | 0 | 67.7 | 53.1 | MIT | 1 week 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,109 | 5,930 | 24 | 340K | 2 | 26.7 | 24.2 | BSD-2-Clause | 8 years ago | |
| pdphilip/omniterm | 0.82 | OmniTerm is a terminal UI toolkit for Laravel that lets you write CLI output as HTML with Tailwind classes and renders it as ANSI. It supports truecolor with 256-color fallback, gradients, arbitrary RGB colors, plus ready-made status badges, tables, progress bars, spinners, and live tasks. | 0 | 1 | — | 17K | — | 1.5 | 55.3 | — | — | |
| 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. | 142 | 144 | 18 | 149K | 4 | 2.4 | 42.6 | MIT | — | |
| league/climate | 0.82 | CLImate is a PHP library for command-line output with colors, formatting, and more. Easily add colored text, special formats, and terminal-friendly styling to your CLI scripts via a simple, expressive API. | 1,893 | 1,942 | 127 | 312K | 11 | 16.7 | 34.8 | 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). | 386 | 390 | 41 | 1M | 0 | 16.1 | 50.6 | MIT | 8 months ago | |
| ozdemirburak/iris | 0.81 | PHP color library for manipulation and conversion between Hex, Hexa, RGB, RGBA, HSL, HSLA, HSV, CMYK, and OKLCH. Requires PHP 8.1+ and supports named colors, alpha channels, and conversion methods. | 124 | 124 | 21 | 47K | 0 | 27.1 | 41.8 | MIT | 2 weeks 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. | 87 | 89 | 8 | 1M | 0 | 2.1 | 56.4 | 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 | 410K | 0 | 0.5 | 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. | 286 | 287 | 32 | 18K | 5 | 3.9 | 26.7 | — | — | |
| 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. | 101 | 104 | 3 | 169K | 0 | 0.6 | 44.5 | MIT | — |
How can I help you explore Laravel packages today?