aitradeinc/php-sql-parser
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| onemustcode/query | 0.83 | — | 4 | 4 | 2 | 61 | 5 | 4.4 | 16.5 | MIT | 8 years 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 | |
| nilportugues/sql-query-formatter | 0.82 | 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 | |
| egyg33k/domain-parser-bundle | 0.82 | — | 0 | 0 | 1 | 0 | 0 | 0.6 | — | — | 10 years ago | |
| iamcal/sql-parser | 0.82 | Fast PHP parser for MySQL 5.7 CREATE TABLE statements. Converts schema SQL into an easy-to-use array describing tables, fields, indexes, and options. Designed to deconstruct valid DDL (not validate it); install via Composer. | 77 | 77 | 20 | 4M | 0 | 14.5 | 61.5 | MIT | 4 months ago | |
| kekos/multipart-form-data-parser | 0.82 | Parse multipart/form-data bodies in PHP, including raw HTTP input. Useful for handling file uploads and form fields when your environment doesn’t populate $_FILES/$_POST (e.g., non-standard servers, PUT/PATCH requests). | 0 | 1 | — | 8K | — | 0.0 | 54.0 | — | — | |
| crwlr/query-string | 0.82 | — | 20 | 21 | 3 | 272K | 0 | 1.4 | 55.3 | MIT | 3 years ago | |
| devanoxltd/php-html-parser | 0.82 | Lightweight PHP HTML parser with jQuery-style CSS selectors. Load HTML from strings or files, handle imperfect markup, and traverse nodes (attributes, innerHtml, siblings). Ideal for quick web scraping and DOM extraction in PHP 7.2–7.4. | 0 | 0 | 0 | 2 | 0 | 5.2 | 4.3 | MIT | 9 months ago | |
| timgws/query-builder-parser | 0.81 | Parse jQuery QueryBuilder rules into Laravel/Illuminate query builder constraints. Safely whitelist allowed fields, then generate SQL queries (and MongoDB queries via jenssegers/mongodb) for filtering results in apps and integrations like DataTables. | 161 | 160 | 74 | 5K | 10 | 31.3 | 29.0 | MIT | 1 month ago | |
| willdurand/email-reply-parser | 0.81 | — | 650 | 650 | 81 | 200K | 9 | 13.5 | 37.4 | MIT | 4 years ago | |
| akeneo-labs/spreadsheet-parser-bundle | 0.81 | — | 4 | 4 | 1 | 2 | 0 | 0.7 | 2.0 | NOASSERTION | 12 years ago | |
| mohammad-fouladgar/eloquent-builder | 0.81 | — | 526 | 527 | 43 | 2K | 0 | 4.2 | 8.4 | MIT | 6 years ago | |
| devtrw/parse-bundle | 0.81 | — | 1 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| tpetry/laravel-query-expressions | 0.81 | 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. | 360 | 359 | 29 | 54K | 1 | 2.9 | — | MIT | — | |
| jms/parser-lib | 0.81 | jms/parser-lib is a lightweight PHP parser library by JMS, providing reusable parsing components to build custom parsers quickly. Ideal for interpreting structured text and creating DSLs. Full docs available at jmsyst.com/libs/parser-lib. | 827 | 835 | 15 | 214K | 1 | 5.0 | 33.5 | Apache-2.0 | 4 years ago | |
| coderockr/parse | 0.81 | PHP package for parsing and extracting data from strings and text sources with a simple API. Useful for building lightweight parsers, reading structured patterns, and turning raw input into usable values in Laravel or any PHP project. | 0 | 4 | — | 0 | — | 0.0 | — | — | — | |
| devizzent/cebe-php-openapi | 0.81 | Laravel-friendly integration of cebe/php-openapi for parsing, validating, and working with OpenAPI 3 specs in PHP. Load YAML/JSON definitions, inspect operations/schemas, and build tooling around your API contract with a small, focused wrapper package. | 38 | 37 | 14 | 557K | 4 | 15.1 | 1.7 | MIT | 4 months ago | |
| goaop/parser-reflection | 0.80 | AST-based Reflection API for PHP: introspect classes, methods, and properties directly from source code without autoloading or executing anything. Built on nikic/php-parser and compatible with native Reflection classes—ideal for static analyzers, code generators, and IDE tooling. | 101 | 101 | 51 | 32K | 3 | 23.2 | 39.9 | MIT | 2 months ago | |
| spatie/laravel-query-builder | 0.80 | Build safe, flexible Eloquent queries from incoming API requests. Supports whitelisted filtering (partial/exact/scope/custom), sorting, includes, field selection, pagination, and grouped AND/OR filters—ideal for JSON:API-style endpoints with minimal boilerplate. | 4,449 | 4,465 | 411 | 1M | 0 | 64.4 | 38.8 | MIT | 1 month ago | |
| derafu/query | 0.80 | Expressive path-based query builder for PHP from Derafu. Build queries using readable, JSONPath-like paths for nested data structures and collections. Lightweight package with full documentation at derafu.dev/docs/data/query. | 3 | 0 | 0 | 40 | 0 | 0.0 | 14.4 | MIT | — |
How can I help you explore Laravel packages today?