doctrine/sql-formatter
Formats SQL queries into readable, consistently indented output. Helps debug logs, review generated SQL, and improve diffs by standardizing whitespace and keywords. Supports multiple SQL dialect features and runs as a lightweight PHP library.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jdorn/sql-formatter | 0.82 | — | 3,851 | 3,914 | 184 | 615K | 23 | 33.2 | 42.3 | MIT | 12 years ago | |
| nilportugues/sql-query-formatter | 0.81 | 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 | 24K | 1 | 2.0 | 38.5 | MIT | 10 years ago | |
| consolidation/output-formatters | 0.78 | 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. | 195 | 200 | 15 | 1M | 6 | 3.0 | 53.2 | NOASSERTION | — | |
| dragon-code/pretty-array | 0.78 | Framework-agnostic PHP utility to export arrays into a readable, pretty PHP representation. Preserves numeric keys correctly (unlike symfony/var-exporter), making it ideal for generated config/translation files and other array dumps you want to commit or inspect. | 17 | 17 | 1 | 427K | 0 | 8.5 | 55.3 | MIT | 1 year ago | |
| dbstudios/doctrine-query-document | 0.77 | Build Doctrine DQL filters from a simple array “query document”. Apply conditions to an existing QueryBuilder (from/select required), auto-bind positional parameters, traverse relations via dot notation, and query JSON fields (MySQL 5.7+). | 0 | 0 | 1 | 0 | 0 | 9.0 | — | GPL-3.0 | 1 year ago | |
| php-parallel-lint/php-console-highlighter | 0.70 | 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 | 88 | 6 | 786K | 0 | 1.3 | 54.5 | MIT | 4 years ago | |
| jakub-onderka/php-console-highlighter | 0.69 | 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,165 | 5,952 | 17 | 275K | 0 | 27.3 | 22.9 | MIT | 7 years ago | |
| scrivo/highlight.php | 0.69 | Server-side syntax highlighting for PHP using highlight.js grammars. Highlight code blocks in many languages, auto-detect when needed, and render HTML with themes—ideal for docs, blogs, and static site generation without requiring a browser. | 714 | 727 | 44 | 2M | 13 | 17.7 | 52.6 | BSD-3-Clause | 3 years ago | |
| spatie/commonmark-highlighter | 0.68 | Server-side syntax highlighting for league/commonmark code blocks using scrivo/highlight.php. Generates HTML compatible with highlight.js themes, reducing JavaScript and avoiding flashes of unstyled code. Supports 185+ languages for fast, clean markdown rendering. | 139 | 139 | 10 | 8K | 0 | 2.0 | 17.2 | MIT | 4 years ago | |
| toolkit/cli-utils | 0.67 | — | 20 | 20 | 5 | 4K | 0 | 9.3 | 31.0 | MIT | 1 year ago |
How can I help you explore Laravel packages today?