Single-File PHP Database Framework – Medoo

Medoo is a lightweight (~8kb) PHP framework for working with SQL databases.

The framework comes as a single file and works with MySQL, MSSQL, PostgreSQL, SQLite (and more).

Medoo - PHP Database Framework

It has methods for all the common SQL queries and controls for preventing SQL injention.

Medoo is simple-yet-handy and it is very well-documented.