Download the PHP package kinetis/query-builder without Composer
On this page you can find all versions of the php package kinetis/query-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kinetis/query-builder
More information about kinetis/query-builder
Files in kinetis/query-builder
Package query-builder
Short Description A thin, parameterized SQL query builder over kinetis/persistence's MySQL and Postgres drivers, with portable row-to-DTO mapping and pagination envelopes. Usable standalone. Not an ORM: no relationships, no migrations, no change-tracking.
License MIT
Informations about the package query-builder
kinetis/query-builder
A thin, parameterized SQL query builder for MySQL and PostgreSQL
Part of Kinetis, a non-blocking PHP framework for
API-first applications, developed in the
kinetis-dev/kinetis monorepo.
Usable standalone: in production it depends only on
kinetis/persistence.
Parameterized selects, joins, subqueries, set operations, CTEs, row
locks, inserts, upserts, updates and deletes over the SQL shared by
MySQL 8.4, MariaDB 11.4 and PostgreSQL 16, run through
kinetis/persistence's drivers, with its own row-to-DTO mapping and
pagination envelopes. Not an ORM: no relationships, no change-tracking,
no save()-on-a-model.
The connection's type selects the SQL dialect, and a Query built on a
transaction runs inside it. What the host owns — client lifetime and a
TransactionGuard per unit of work — is described in
kinetis/persistence.
With Kinetis
Install both: kinetis/database-bridge
binds the connection from DB_* configuration but does not install the
query builder. An application then injects MysqlLink or PostgresLink
and constructs new Query($link) per statement with no wiring of its
own.
Installation
Requires PHP 8.4+ and kinetis/persistence,
plus the PHP extension for the driver you use. Full documentation:
kinetis.dev/docs/query-builder.html.
License
MIT — see LICENSE.