aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.
456 3,250,519

aura/sql

A PDO extension that provides lazy connections, array quoting, query profiling, value binding, and convenience methods for common fetch styles. Because it extends PDO, existing code that uses PDO can use this without any changes to the existing code.
566 2,773,868

mevdschee/php-crud-api

Single file PHP script that adds a REST API to a SQL database.
3,738 68,230

atlas/statement

Object-oriented statement builders for MySQL, Postgres, SQLite, and SQLServer.
3 15,426

tommyknocker/pdo-database-class

Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.
82 6,265

devtheorem/peachy-sql

A high-performance query builder and runner for PHP
23 2,684

techscope/laravel-sqlserver

Use ODBC to connect with your SQL Server instances from Laravel 5+
20 2,089