MakinaCorpus Query Builder
MakinaCorpus Query Builder: A fluent PHP SQL builder with PDO and Doctrine DBAL execution bridges. Ranked #28 of 51 in Database Query Builders by our editors (6.2/10); pricing: Free plan; best for PHP teams using DBAL or PDO.
At a glance
- Editor score6.2 / 10
- PricingFree plan
- Best forPHP teams using DBAL or PDO
- Free planYes
- Paid fromNone
- Facts checked4 Oct 2026
Where it wins
- Builds SELECT, INSERT, UPDATE and DELETE statements through a fluent API
- Supports MariaDB, MySQL, PostgreSQL, SQLite and SQL Server
- Includes CTEs, window functions, raw SQL expressions and escaping
Where it doesn't
- SQL generation requires a separate bridge for query execution
- Symfony integration is provided as a separate package
- Raw SQL expressions may be needed beyond built-in builder capabilities
Our verdict on MakinaCorpus Query Builder
MakinaCorpus Query Builder is an open-source PHP library for constructing SQL through a fluent API. It is aimed at PHP developers who need to build common statements—SELECT, INSERT, UPDATE and DELETE—and work with PDO or Doctrine DBAL for execution. It can also fit Symfony applications through a separate bundle. Teams wanting a PHP query-construction library they can self-host should consider it; it is less suited to projects seeking an all-in-one database runtime rather than a builder with execution bridges.
Its dialect support spans MariaDB, MySQL, PostgreSQL, SQLite and SQL Server, giving teams room to target different database systems with the same library. The builder handles common query types and supports common table expressions and window functions. Raw SQL expressions provide an escape hatch for cases beyond its built-in capabilities. Identifier escaping and conversion of PHP values for SQL address important parts of composing queries, while the published feature set does not establish type-safety guarantees. This makes it a fit for developers who value a fluent construction layer and explicit SQL control, rather than those choosing primarily for documented type-safety features.
The library generates SQL; execution is handled through its PDO or Doctrine DBAL bridges, so teams should account for that distinction in their application design. Symfony integration is available as a separate package, not as part of the core library. MakinaCorpus Query Builder is open source under the MIT license, with no official paid tiers described. Its published support channel is documentation. Choose it when PHP, dialect coverage and an existing PDO or DBAL workflow align; consider another option if you need execution and framework integration bundled into a single package or rely on support beyond documentation.
Your product? Our editors can test MakinaCorpus Query Builder in depth and publish a review, labelled as paid · from $99/mo →
MakinaCorpus Query Builder pricing
MakinaCorpus Query Builder fact sheet
| Free plan | Yes |
|---|---|
| Paid from | None |
| Languages | PHP |
| SQL dialects | MariaDB, MySQL, PostgreSQL, SQLite, SQL Server |
| Type safety | Not verified |
| Async queries | Not verified |
| Raw SQL support | Yes |
| Compile without execution | Yes |
| Deployment | Self-hosted |
| Support | Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 3 integrations: PDO, Doctrine DBAL, Symfony |
| Pricing | Free plan |
| Website | php-query-builder.readthedocs.io |
| Facts checked | 4 Oct 2026 |
MakinaCorpus Query Builder integrations
MakinaCorpus Query Builder lists 3 integrations on its own site.
- PDO
- Doctrine DBAL
- Symfony
Alternatives to MakinaCorpus Query Builder
- jOOQA fluent SQL framework for JVM teams that want generated, type-safe database access.9.3
- SQLAlchemySQL construction, ORM, and database services for Python applications.9.1
- JetBrains ExposedA free, open-source Kotlin library with a type-safe SQL DSL and JDBC and R2DBC access.9.0
See all MakinaCorpus Query Builder alternatives →
Used MakinaCorpus Query Builder? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used MakinaCorpus Query Builder for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
MakinaCorpus Query Builder is listed in our Database Query Builders directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/makinacorpus-query-builder/"><img src="https://www.itechguides.com/best/badge/makinacorpus-query-builder.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. How we rank.
Last updated · How we research and update
