aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.
457 3,197,014

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,729,508

mevdschee/php-crud-api

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

atlas/statement

Object-oriented statement builders for MySQL, Postgres, SQLite, and SQLServer.
3 14,708

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,169

devtheorem/peachy-sql

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

techscope/laravel-sqlserver

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