flow-php/pg-query-ext

PostgreSQL query parser PHP extension using libpg_query
11,986 1
Install
composer require flow-php/pg-query-ext
Latest Version:0.41.1
PHP:~8.3.0 || ~8.4.0 || ~8.5.0
License:MIT
Last Updated:Jul 1, 2026
Links: GitHub  ·  Packagist
Maintainer: norbert-tech

Extension: pg_query

A compiled PHP extension for PostgreSQL query parsing using libpg_query, providing SQL parsing into JSON AST, query fingerprinting, normalization, PL/pgSQL parsing, statement splitting, and tokenization.

[!IMPORTANT]
This repository is a subtree split from our monorepo. If you'd like to contribute, please visit our main monorepo flow-php/flow.

Related Packages

sad_spirit/pg_builder

Query builder for Postgres backed by SQL parser

41,446 59
repat/laravel-medoo

Laravel Facade and ServiceProvider for The Lightest PHP database framework to ac...

248 5
timgws/query-builder-parser

Build complex Eloquent & QueryBuilder queries automatically when using jQuery-Qu...

405,116 161
t3v/t3v_datamapper

Brings the Database and Validation magic from Laravel to TYPO3.

3,378 3
timgws/cleanhtml

Quickly & Easily clean out HTML text, making sure that only the bare minimum is...

115 6