consolidation/output-formatters
Flexible output formatting utilities for PHP/Laravel CLI apps. Convert structured data to clean tables, JSON, YAML, and more with consistent styling and easy configuration—ideal for Symfony Console/Drush-style commands needing polished, readable output.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 21torr/cli | 0.82 | — | 0 | 0 | 2 | 687 | 0 | 18.1 | 44.2 | MIT | 3 months ago | |
| pmjones/php-styler | 0.81 | PHP-Styler is a PHP 8.1+ code formatter that fully reformats your code for consistent spacing, indentation, and line lengths. It preserves logic and comments, is diff-friendly by default, and is customizable via styles, rules, and parses. | 41 | 41 | 2 | 102 | 0 | 25.6 | 8.6 | MIT | 1 month ago | |
| bramus/monolog-colored-line-formatter | 0.81 | 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 | 90K | 4 | 2.5 | 40.3 | MIT | — | |
| antqa/dataexporter-bundle | 0.80 | — | 2 | 2 | 0 | 3 | 1 | 0.1 | 4.2 | — | — | |
| consolidation/log | 0.80 | A lightweight Laravel logging package that consolidates and formats application logs, helping you centralize output, reduce noise, and improve readability. Designed for easy integration and configuration across environments for consistent, structured logging. | 154 | 155 | 6 | 1M | 0 | 1.0 | 53.8 | NOASSERTION | — | |
| tomatophp/console-helpers | 0.80 | — | 5 | 5 | 3 | 21K | 0 | 0.7 | 49.0 | MIT | 2 years ago | |
| bramus/ansi-php | 0.80 | 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. | 95 | — | 10 | — | 3 | 1.6 | 0.8 | MIT | — | |
| ergebnis/json-printer | 0.80 | Pretty-print and re-indent JSON strings with customizable indentation (spaces or tabs). Ergebnis\Json\Printer\Printer normalizes indentation only—no escaping/unescaping—making it easy to convert minified or differently formatted JSON into a consistent style. | 91 | 92 | 2 | 1M | 0 | 11.2 | 57.9 | MIT | 9 months ago | |
| nilportugues/sql-query-formatter | 0.80 | Lightweight PHP SQL formatter that turns messy, computer-generated queries into clean, human-readable plain text. Preserves data-binding placeholders like :variable and ? while reformatting, making SQL easier to read and debug without adding colors or markup. | 38 | 39 | 8 | 14K | 1 | 2.0 | 35.2 | MIT | 10 years ago | |
| ergebnis/json-normalizer | 0.80 | Normalize JSON documents with composable normalizers. Includes generic and vendor-specific normalizers for formatting, indentation, schema-based ordering, JSON encoding, chaining, callbacks, and controlling final newlines. Install via Composer and apply a Normalizer to produce consistent JSON output... | 82 | 83 | 5 | 1M | 0 | 15.5 | 58.8 | MIT | 9 months ago | |
| awaresoft/sonata-formatter-bundle | 0.78 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| respect/string-formatter | 0.77 | Flexible PHP string formatting library with chainable formatters and templated placeholders. Mask, pattern, date, number, and more to transform/format values (e.g., credit cards, phones, amounts) via FormatterBuilder or PlaceholderFormatter modifiers. | 4 | 3 | 2 | 3K | 2 | 17.6 | 43.5 | ISC | 4 months ago | |
| core23/commonmark-formatter-bundle | 0.76 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| mmoreram/php-formatter | 0.76 | PHP code formatter with CLI and configurable rules to standardize style across a project. Formats files or entire directories, helps enforce clean, consistent code, and integrates easily into development workflows and CI. | 168 | 169 | 17 | 2K | 2 | 3.0 | 10.7 | MIT | 8 years ago | |
| core23/twig-formatter-bundle | 0.74 | — | 0 | 0 | 0 | 0 | 0 | 0.1 | — | MIT | — | |
| consolidation/annotated-command | 0.74 | 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 | 226 | 40 | 1M | 19 | 8.4 | 58.5 | NOASSERTION | — | |
| sonata-project/formatter-bundle | 0.73 | — | 84 | 86 | 117 | 20K | 0 | 23.8 | 36.0 | MIT | 5 months ago | |
| andchir/markdown-bundle | 0.72 | — | 0 | 0 | 0 | 0 | 0 | 1.5 | — | MIT | 6 years ago | |
| league/commonmark-ext-table | 0.71 | Deprecated CommonMark table extension for PHP. Adds GitHub Flavored Markdown-style tables (alignment, header/body) to league/commonmark environments. Use league/commonmark 1.3+ instead, which includes the same Table extension under League\CommonMark\Extension\Table. | 127 | 129 | 14 | 5K | 0 | 0.8 | 15.4 | MIT | 6 years ago | |
| phplucidframe/console-table | 0.69 | Lightweight PHP library to render formatted ASCII tables in the console. Define headers, rows, alignment, padding, and borders; supports styling and flexible layouts for CLI apps, scripts, and Symfony/Laravel-style console output. | 102 | 102 | 25 | 18K | 2 | 1.7 | — | NOASSERTION | 1 year ago |
How can I help you explore Laravel packages today?