Libraries tagged by sql parser
phpmyadmin/sql-parser
51502585 Downloads
A validating SQL lexer and parser with a focus on MySQL dialect.
iamcal/sql-parser
30540088 Downloads
MySQL schema parser
greenlion/php-sql-parser
12100535 Downloads
A pure PHP SQL (non validating) parser w/ focus on MySQL dialect of SQL
soundintheory/php-sql-parser
542832 Downloads
SQL parsing tools for PHP
jasny/persist-sql-query
513412 Downloads
SQL Query builder and parser
timgws/query-builder-parser
399615 Downloads
Build complex Eloquent & QueryBuilder queries automatically when using jQuery-QueryBuilder
nilportugues/sql-query-formatter
1135742 Downloads
A very lightweight PHP class that reformats unreadable and computer-generated SQL query statements to human-friendly, readable text.
staabm/sql-parser-util
1033652 Downloads
udan11/sql-parser
5715 Downloads
A validating SQL lexer and parser with a focus on MySQL dialect.
pimcore/search-query-parser
548564 Downloads
Parses a simplified SQL-like query string into a syntax tree which can be used to build search queries
butschster/dbml-parser
18360 Downloads
DBML (database markup language) parser written on PHP8.
sad_spirit/pg_builder
36397 Downloads
Query builder for Postgres backed by SQL parser
sqlftw/sqlftw
87324 Downloads
Complete MySQL SQL dialect lexer, parser, AST and SQL serialisation
marcocesarato/sqlparser
44995 Downloads
This class can parse SQL to get query type, tables, field values, etc.. It takes an string with a SQL statements and parses it to extract its different components. Currently the class can extract the SQL query method, the names of the tables involved in the query and the field values that are passed as parameters. This parser is pretty light respect phpsqlparser or others php sql parser.
nextras/multi-query-parser
16722 Downloads
Parses queries from a SQL file.