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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bvanhoekelen/terminal-style | 0.88 | Terminal Style is a simple PHP package for styling command-line output with colors, background colors, and text options like bold, underline, and blink. Its chainable API makes it easy to format CLI messages, tables, and Laravel artisan commands with consistent, readable terminal styling. | 19 | — | 10 | — | 0 | 0.5 | — | Apache-2.0 | 6 years ago |
|
| wujunze/php-cli-color | 0.86 | wujunze/php-cli-color is a lightweight PHP library for adding ANSI colors and styles to command-line output. It supports foreground and background colors, 256-color terminals, and simple chained methods to make CLI scripts, logs, and console tools easier to read. | 41 | — | 17 | — | 0 | 0.7 | — | MIT | 8 years ago |
|
| cannonb4ll/laravel-philips-hue | 0.86 | Laravel wrapper for the Philips Hue API that lets you discover bridges, control lights, groups and scenes, and manage colors, brightness and schedules directly from your Laravel app. Simple configuration and an expressive interface make smart-home automation easy to add. | 87 | — | 11 | — | 3 | 0.9 | 0.3 | MIT | 6 years ago | |
| primal/color | 0.86 | primal/color is a PHP package for working with colors in Laravel and other PHP apps, offering helpers to convert between formats like hex, RGB, and HSL, adjust shades and brightness, and generate or manipulate palettes with a simple, expressive API. | 24 | 24 | 4 | 19K | 0 | 0.5 | 39.9 | NOASSERTION | 3 years ago | |
| jfcherng/php-color-output | 0.86 | 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 | |
| kevinlebrun/colors.php | 0.85 | 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 | 36 | 93K | 3 | 3.6 | 34.3 | MIT | — | |
| baks-dev/reference-color | 0.85 | Библиотека справочника цветов для проектов BaksDev: подключение через Composer, сервис ReferenceChoiceColor для вывода цветов в выпадающих списках (tag baks.reference.choice). Требует PHP 8.4+. Лицензия MIT. | 0 | 0 | 0 | 1 | 0 | 18.7 | 4.7 | MIT | 2 months ago | |
| jakub-onderka/php-console-highlighter | 0.85 | 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 | |
| jakub-onderka/php-console-color | 0.85 | 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 | |
| laranail/console | 0.85 | Laranail Console extends Laravel's Artisan CLI with convenient commands and helpers for common development and maintenance tasks, streamlining terminal workflows and making it easier to manage your application from the command line. | 1 | — | 0 | — | 0 | 19.2 | — | MIT | 2 weeks ago |
|
| code-lts/cli-tools | 0.85 | — | 2 | 3 | 0 | 27K | 0 | 8.1 | 57.0 | MPL-2.0 | 9 months ago | |
| php-parallel-lint/php-console-highlighter | 0.85 | 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. | 86 | 86 | 6 | 1M | 0 | 1.7 | 56.4 | MIT | 4 years ago | |
| kennwilson/colormap | 0.85 | kennwilson/colormap is a Laravel/PHP package for defining, generating, and working with color maps and palettes, providing a simple API to keep color schemes consistent across your application. | 0 | 0 | 0 | 6 | 0 | 0.0 | 11.7 | MIT | — | |
| zendframework/zend-console | 0.85 | Zend\Console provides a robust set of tools for building PHP command-line apps and scripts. It includes input parsing, argument and option handling, console adapters, and helpers for formatting output, making it easier to create interactive and portable CLI commands. | 47 | 50 | 30 | 26K | 9 | 2.3 | 28.2 | BSD-3-Clause | 7 years ago | |
| serendipity_hq/component-console-styles | 0.85 | A compact PHP component from Serendipity HQ for styling console output, helping make CLI messages easier to read with colors and formatting. Useful for adding clear, consistent visual cues to Laravel Artisan or Symfony Console commands. | 2 | 2 | 1 | 0 | 5 | 1.4 | 1.1 | MIT | — | |
| codeplace-io/color-picker-bundle | 0.85 | codeplace-io/color-picker-bundle adds a reusable color picker form field to Symfony applications. It offers configurable picker options, simple asset and Twig integration, and a straightforward way to add color selection to admin panels, settings pages, and other forms. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| codedungeon/php-messenger | 0.85 | A lightweight PHP messenger for dispatching messages to handlers through a configurable bus, with middleware pipelines, typed message handling, and optional Laravel integration—a simple, framework-agnostic foundation for commands, queries, and events. | 2 | 2 | 0 | 218 | 0 | 0.4 | 26.6 | MIT | — | |
| danmichaelo/coma | 0.85 | CoMa is a PHP color math library for converting between sRGB, XYZ and Lab color spaces and computing color difference (Delta E) metrics. Includes CIE76 and CIE94, with more planned. Suitable for matching and comparing colors. | 17 | 19 | 3 | 1K | 0 | 0.2 | 25.6 | MIT | — | |
| barthy-koeln/bash-echolorized | 0.85 | 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 | |
| php-parallel-lint/php-console-color | 0.84 | 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 |
How can I help you explore Laravel packages today?