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 | 624 | 5 | 4.4 | 30.0 | 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 | 50K | 1 | 2.0 | 42.8 | MIT | 11 years ago | |
| ddtraceweb/monolog-parser | 0.82 | Laravel-friendly Monolog parser that reads and normalizes Monolog log records/lines for easier searching, filtering, and display. Useful for building log viewers, dashboards, or importing Monolog output into your own storage or analysis pipeline. | 28 | 30 | 10 | 3K | 0 | 2.0 | 28.6 | MIT | 6 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. | 78 | 79 | 21 | 10M | 1 | 6.5 | 57.5 | MIT | 9 months ago | |
| devtrw/parse-bundle | 0.82 | — | 1 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| 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). | 1 | 1 | 1 | 8K | 0 | 0.0 | 49.9 | — | — | |
| crwlr/query-string | 0.82 | — | 20 | 21 | 3 | 479K | 0 | 1.4 | 55.3 | MIT | 3 years ago | |
| timgws/query-builder-parser | 0.82 | QueryBuilderParser is a Laravel/PHP package that converts jQuery QueryBuilder rules into safe SQL or MongoDB queries using a whitelist of allowed fields. It integrates with Laravel's query builder and jenssegers/mongodb for filtering and search. | 160 | 160 | 73 | 3K | 10 | 22.3 | 24.1 | MIT | 6 months 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 | 28 | 0 | 0.9 | 20.2 | MIT | 1 year ago | |
| willdurand/email-reply-parser | 0.81 | — | 651 | 651 | 80 | 380K | 9 | 13.5 | 41.2 | MIT | 4 years ago | |
| akeneo-labs/spreadsheet-parser-bundle | 0.81 | — | 4 | 4 | 1 | 1 | 0 | 0.7 | 1.1 | NOASSERTION | 12 years ago | |
| mohammad-fouladgar/eloquent-builder | 0.81 | — | 525 | 526 | 42 | 3K | 0 | 4.2 | 10.9 | MIT | 7 years ago | |
| akeneo-labs/spreadsheet-parser | 0.81 | Lightweight spreadsheet reader focused on low memory usage, even for large files. Parses XLSX and CSV, exposes workbook/worksheet APIs, and provides row iterators for streaming data extraction with configurable CSV options (encoding, delimiter, enclosure, etc.). | 145 | 147 | 49 | 5K | 13 | 7.6 | 27.2 | NOASSERTION | 7 years ago | |
| 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. | 357 | 359 | 29 | 118K | 1 | 2.9 | 34.8 | 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. | 823 | 834 | 15 | 198K | 1 | 5.0 | 32.9 | Apache-2.0 | 4 years ago | |
| jdorn/sql-formatter | 0.81 | — | 3,840 | 3,914 | 184 | 615K | 23 | 33.1 | 42.3 | MIT | 12 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 | — | — | — | |
| ghostcompiler/laravel-querybuilder | 0.81 | API-ready Eloquent query builder for Laravel with strict allow-lists for filters, sorts, includes, and sparse fields. Supports nested relation filters/sorting, custom filters, tenant scoping, safe public query interfaces, and pagination helpers for clean API responses. | 18 | 18 | 1 | 0 | 0 | 12.3 | — | MIT | 4 months ago |
How can I help you explore Laravel packages today?