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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ablunier/laravel-database | 0.84 | ablunier/laravel-database provides convenient database helpers for Laravel applications, simplifying connection management, schema operations, and common queries. Keep persistence logic clean and consistent with a lightweight package that integrates smoothly into your existing Laravel workflows. | 1 | 2 | 1 | 5 | 0 | 0.0 | 7.5 | — | 9 years ago | |
| mmoreram/php-formatter | 0.84 | 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. | 167 | 169 | 17 | 876 | 2 | 3.0 | 8.0 | MIT | 8 years ago | |
| sbamtr/laravel-query-enrich | 0.83 | A Laravel package that adds expressive query enrichment helpers, letting you append computed values, relationships, and metadata to Eloquent results cleanly while reducing boilerplate and keeping data shaping close to your queries. | 142 | 142 | 6 | 878 | 1 | 12.9 | 13.0 | MIT | 5 months ago | |
| beeflow/sqlquerymanager | 0.83 | 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 | |
| soapbox/laravel-formatter | 0.83 | Laravel Formatter converts arrays, collections, and Eloquent models into JSON, XML, CSV, YAML, and other formats. It provides a simple, extensible API, customizable formatters, and clean output handling for exporting data in Laravel applications. | 247 | — | 91 | — | 12 | 7.9 | 4.5 | — | 8 years ago | |
| aglipanci/laravel-eloquent-case | 0.83 | Add case-insensitive where clauses to Laravel Eloquent. This package provides simple, chainable whereCaseInsensitive and orWhereCaseInsensitive methods so you can query models without worrying about letter case, avoiding raw SQL and keeping your code clean and readable. | 116 | — | 10 | — | 0 | 8.5 | — | MIT | 7 months ago | |
| lorisleiva/laravel-add-select | 0.83 | Laravel Add Select is a small Laravel package that simplifies appending select columns to existing queries. It provides a fluent helper for adding columns or subqueries to Eloquent and query builder selects without rewriting existing select clauses, making incremental query composition cleaner and m... | 32 | — | 3 | — | 0 | 0.6 | — | MIT | 6 years ago | |
| mouadziani/laravel-query-inspector | 0.83 | Laravel Query Inspector lets you see the SQL your app actually runs—log queries with bindings, execution time, and where they came from. A lightweight debugging aid for spotting slow, duplicate, or unexpected database calls during development. | 56 | — | 4 | — | 0 | 0.4 | — | MIT | 5 years ago | |
| pyaesoneaung/to-raw-sql | 0.83 | Inspect the SQL behind your Laravel query builder and Eloquent queries. to-raw-sql converts builders into readable raw SQL strings, making debugging, logging, and optimization simple. A lightweight helper with a clean API for development. | 56 | 56 | 4 | 126 | 0 | 0.6 | 7.0 | MIT | 3 years ago | |
| plin-code/laravel-sql-dialect | 0.83 | A Laravel package for handling SQL dialects, helping you generate and adapt database-specific SQL across supported drivers. Useful when your application needs consistent query behavior across different database engines. | 2 | 2 | 0 | 381 | 0 | 18.5 | 33.9 | MIT | 1 month ago | |
| megawilddaddy/simple-pdo-query-builder | 0.83 | A lightweight, simple PDO query builder for PHP that lets you construct and execute SQL queries through a clean, chainable API. Great for small projects that need straightforward database access without the overhead of a full ORM. | 0 | 0 | 1 | 0 | 0 | 0.3 | — | MIT | 4 years ago | |
| tpetry/laravel-query-expressions | 0.83 | Add powerful SQL expression support to Laravel’s query builder. Compose reusable, type-safe expressions for functions, casts, JSON ops, windows, and more, with clean syntax and cross-database compatibility—ideal for advanced filtering, sorting, and computed columns. | 357 | 359 | 29 | 118K | 1 | 2.9 | 34.8 | MIT | — | |
| aitradeinc/php-sql-parser | 0.83 | 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 | 5 years ago | |
| mnabialek/laravel-sql-logger | 0.83 | Laravel SQL Logger helps you log every SQL query your app runs, with configurable output to files, console, or custom loggers. Easily inspect queries, bindings, and execution time for debugging and performance tuning. | 157 | 161 | 27 | 10K | 2 | 5.4 | 27.2 | MIT | 10 months ago | |
| itul/sql-to-laravel | 0.83 | Convert raw SQL into Laravel query builder or Eloquent code. Paste a SQL query and generate equivalent Laravel syntax to speed up refactoring, debugging, and migrating legacy database logic into your application. | 0 | 0 | — | 393 | — | 0.0 | 35.9 | — | — | |
| guanguans/laravel-dump-sql | 0.83 | Laravel package that reveals the real SQL behind your query builder and Eloquent queries. It adds dumpSql() and ddSql() macros so you can print or dump fully interpolated SQL, bindings included, plus helpers for logging queries—making database debugging faster and clearer. | 36 | 38 | 4 | 655 | 0 | 0.6 | 17.6 | MIT | 2 years ago | |
| makinacorpus/query-builder | 0.83 | A fluent SQL query builder for PHP that lets you construct complex SELECT, INSERT, UPDATE, and DELETE queries programmatically through a clean, chainable API. Lightweight and framework-agnostic, it integrates easily into Laravel or any PHP application. | 7 | 7 | 1 | 18K | 14 | 4.1 | 50.1 | MIT | — | |
| jdorn/sql-formatter | 0.83 | — | 3,840 | 3,914 | 184 | 615K | 23 | 33.1 | 42.3 | MIT | 12 years ago | |
| greenlion/php-sql-parser | 0.83 | — | 644 | 657 | 170 | 359K | 69 | 46.9 | 71.5 | BSD-3-Clause | 1 month ago | |
| envms/fluentpdo | 0.83 | FluentPDO is a lightweight PHP library for building SQL queries with a fluent, chainable API on top of PDO. It supports joins, subqueries, and smart column detection without a full ORM, keeping queries readable and fast. Works with MySQL, SQLite, and PostgreSQL on existing PDO connections. | 917 | — | 183 | — | 42 | 23.4 | 17.4 | — | 4 years ago |
|
How can I help you explore Laravel packages today?