PhPgSql There are two main parts. Both can be used separately: DB - running safely SQL queries in DB and processing results back to PHP Fluent - provide object fluent interface to prepare SQL queries and can internally use DB part to send queries right to the database.