New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

flow-php/pg-query-ext

PostgreSQL query parser PHP extension using libpg_query
18,418 1
Install
composer require flow-php/pg-query-ext
Latest Version:0.47.0
PHP:~8.3.0 || ~8.4.0 || ~8.5.0
License:MIT
Last Updated:Nov 2, 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

68,780 59
makinacorpus/query-builder

Driver agnostic SQL query builder.

281,070 7
crysalead/sql-dialect

SQL query builder.

13,274 6
usmanhalalit/pixie

A lightweight, expressive, framework agnostic query builder for PHP.

2,317,232 674
timgws/cleanhtml

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

115 6

Version History

Version Released PHP License
0.47.0 ~8.3.0 || ~8.4.0 || ~8.5.0 MIT
0.46.0 ~8.3.0 || ~8.4.0 || ~8.5.0 MIT
0.45.0 ~8.3.0 || ~8.4.0 || ~8.5.0 MIT
0.44.1 ~8.3.0 || ~8.4.0 || ~8.5.0 MIT
0.44.0 ~8.3.0 || ~8.4.0 || ~8.5.0 MIT