PHPackages                             dmitry-php/sql-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. dmitry-php/sql-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

dmitry-php/sql-parser
=====================

A validating SQL lexer and parser with a focus on MySQL dialect.

025PHP

Since Jun 29Pushed 10y ago1 watchersCompare

[ Source](https://github.com/dmitry-php/sql-parser)[ Packagist](https://packagist.org/packages/dmitry-php/sql-parser)[ RSS](/packages/dmitry-php-sql-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Original project -

SQL Parser
==========

[](#sql-parser)

A validating SQL lexer and parser with a focus on MySQL dialect.

This library was originally developed for phpMyAdmin during the Google Summer of Code 2015.

This is an alpha version. For more information, please check: [Overview](https://github.com/udan11/sql-parser/wiki/Overview) or the [Examples](https://github.com/udan11/sql-parser/wiki/Examples).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/cce50db2b7f98864ca662ae540980340662ba043714af5185429ad550833d234?d=identicon)[dmitry-php](/maintainers/dmitry-php)

---

Top Contributors

[![udan11](https://avatars.githubusercontent.com/u/4147664?v=4)](https://github.com/udan11 "udan11 (29 commits)")[![dtr0yan](https://avatars.githubusercontent.com/u/1052805?v=4)](https://github.com/dtr0yan "dtr0yan (2 commits)")

### Embed Badge

![Health badge](/badges/dmitry-php-sql-parser/health.svg)

```
[![Health](https://phpackages.com/badges/dmitry-php-sql-parser/health.svg)](https://phpackages.com/packages/dmitry-php-sql-parser)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[meyfa/php-svg

Read, edit, write, and render SVG files with PHP

54613.9M42](/packages/meyfa-php-svg)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
