Libraries tagged by sql statement
nilportugues/sql-query-formatter
1303460 Downloads
A very lightweight PHP class that reformats unreadable and computer-generated SQL query statements to human-friendly, readable text.
guanguans/laravel-soar
10419 Downloads
SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。
panique/pdo-debug
122497 Downloads
A super-simple function that returns the full SQL query from your PDO statements
kohana/database
488512 Downloads
The official Kohana module for database interactions, building queries, and prepared statements
marcocesarato/sqlparser
50326 Downloads
This class can parse SQL to get query type, tables, field values, etc.. It takes an string with a SQL statements and parses it to extract its different components. Currently the class can extract the SQL query method, the names of the tables involved in the query and the field values that are passed as parameters. This parser is pretty light respect phpsqlparser or others php sql parser.
mouf/magic-query
284060 Downloads
A very clever library to help you with SQL: generate prepared statements with a variable number of parameters, automatically writes joins... and much more!
guanguans/laravel-dump-sql
40700 Downloads
laravel 中轻松容易的输出完整的 SQL 语句。 - Easy output of complete SQL statements for laravel framework.
atlas/statement
18054 Downloads
Object-oriented statement builders for MySQL, Postgres, SQLite, and SQLServer.
jstayton/miner
12988 Downloads
A dead simple PHP class for building SQL statements. No manual string concatenation necessary.
tommyknocker/pdo-database-class
6630 Downloads
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. No framework dependency.
paragonie/easydb-cache
25374 Downloads
Caching Adapter for EasyDB (caches Prepared Statements to reduce round trips)
itools/zendb
42705 Downloads
Injection-proof PHP/MySQL database layer with automatic XSS-safe output
detain/db_abstraction
4356 Downloads
Database Abstraction Class
crcms/elasticsearch
8279 Downloads
Use SQL statements to query elasticsearch
moledet/database-change-log
7203 Downloads
A PHP class to log all changes of table data from raw SQL or with PDO statement