nilportugues/sql-query-formatter
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| beeflow/sqlquerymanager | 0.84 | Simple SQL query manager for PHP/Symfony. Load SQL from files and safely inject parameters using typed placeholders (string, int, secureString, email, etc.), with support for custom vartypes via service tags. Use as a Symfony service or via the SQLQuery class. | 1 | 1 | 0 | 0 | 0 | 0.7 | 0.8 | GPL-2.0 | 9 years ago | |
| open-southeners/extended-php | 0.83 | Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects. | 0 | 0 | 0 | 750 | 0 | 12.2 | 41.5 | MIT | 9 months ago | |
| herrera-io/phpunit-test-case | 0.83 | PHPUnit TestCase class and Extras trait that add helpers for common test chores: create/delete temporary files and directories, call protected/private methods, and get/set protected/private properties. Use as a base class or mix into your own test case. | 1 | 1 | 0 | 29 | 0 | 0.0 | 11.6 | MIT | — | |
| tflori/phpunit-printer | 0.83 | Custom PHPUnit printers for cleaner test output. Includes TextPrinter for human-friendly, readable progress reporting. Install via Composer and enable via phpunit --printer or printerClass in phpunit.xml; works across multiple PHP/PHPUnit versions. | 0 | 0 | 0 | 404 | 0 | 1.8 | 36.0 | — | 4 years ago | |
| myqee/test | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| onemustcode/query | 0.82 | — | 4 | 4 | 2 | 266 | 5 | 4.4 | 25.0 | MIT | 8 years ago | |
| b2pweb/bdf-phpunit | 0.82 | Laravel/PHPUnit helper package for working with BDF/SEPA bank files in tests. Provides utilities and test assertions to validate BDF structures and parsing results, making it easier to write reliable unit tests around banking file imports. | 0 | 0 | 0 | 407 | 0 | 0.0 | 36.1 | MIT | — | |
| pear/html_quickform2 | 0.82 | HTML_QuickForm2 is a PEAR package for building, validating, and rendering HTML forms in PHP. It supports standard and custom elements, server- and client-side validation (with combinable rules), multipage/wizard forms, and pluggable renderers, rules, and elements. | 23 | 24 | 19 | 8K | 0 | 1.7 | 35.1 | — | 1 year ago | |
| yansongda/supports | 0.82 | — | 21 | 21 | 18 | 19K | 0 | 2.1 | 40.4 | MIT | 5 years ago | |
| sonata-project/formatter-bundle | 0.80 | — | 84 | 86 | 118 | 19K | 0 | 21.5 | 34.9 | MIT | 7 months ago | |
| mmoreram/php-formatter | 0.80 | 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 | 808 | 2 | 3.0 | 7.7 | MIT | 8 years ago | |
| jdorn/sql-formatter | 0.80 | — | 3,847 | 3,914 | 184 | 615K | 23 | 33.2 | 42.3 | MIT | 12 years ago | |
| code-lts/cli-tools | 0.79 | — | 2 | 3 | 0 | 4K | 0 | 13.7 | 47.8 | MPL-2.0 | 6 months ago | |
| spatie/laravel-sql-commenter | 0.79 | Adds sqlcommenter-style comments to Laravel database queries, embedding context like controller and action. Makes it easy to trace slow or problematic SQL back to the exact code path, and works with tools like PlanetScale Query Insights. | 194 | 195 | 12 | 72K | 0 | 17.6 | 38.8 | MIT | 5 months ago | |
| dragon-code/pretty-array | 0.79 | 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 | |
| doctrine/sql-formatter | 0.77 | 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. | 1,863 | 1,876 | 29 | 5M | 9 | 28.1 | 56.6 | MIT | 5 months ago | |
| aitradeinc/php-sql-parser | 0.76 | A PHP SQL parser library for analyzing SQL strings. Parse queries into structured data (AST/array) you can inspect, validate, rewrite, or use for tooling like linters, query builders, or migration helpers. Lightweight package for PHP applications. | 0 | 0 | 1 | 0 | 0 | 0.9 | — | MIT | 4 years ago | |
| yiisoft/var-dumper | 0.76 | Yii VarDumper enhances var_dump()/var_export() with safe handling of recursive references, syntax highlighting, and closure export. Includes handy d(), dump(), and dd() helpers for quick debugging. Configurable depth and highlighting. | 21 | 21 | 13 | 53K | 4 | 11.0 | 50.6 | BSD-3-Clause | 8 months ago | |
| yiisoft/friendly-exception | 0.76 | Defines FriendlyExceptionInterface for exceptions that provide a human-friendly name and suggested solution. Lets error handlers detect these exceptions and display clearer, actionable information on error pages. Includes guidance for writing short, markdown-based solutions. | 49 | 49 | 11 | 70K | 1 | 8.0 | 45.9 | BSD-3-Clause | 8 months ago | |
| iodigital-com/php-code-sniffer-standard | 0.76 | Extends PHP_CodeSniffer with iO Digital coding standards. Install via Composer, add an IO ruleset to your phpcs.xml, configure excluded paths and PHP version ranges, and run vendor/bin/phpcs. Includes guidance for properly ignoring sniff violations. | 1 | 1 | 3 | 600 | 1 | 11.7 | 37.0 | MIT | 6 months ago |
How can I help you explore Laravel packages today?