flow-php/pg-query-ext
PostgreSQL query parser PHP extension using libpg_query
3,326
| Install | |
|---|---|
composer require flow-php/pg-query-ext |
|
| Latest Version: | 0.34.3 |
| PHP: | ~8.3.0 || ~8.4.0 || ~8.5.0 |
| License: | MIT |
| Last Updated: | Mar 27, 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.
- 📜 Documentation
- ➡️ Installation
- 🛠️ Contributing
- 🚧 Upgrading