PDO4You is a class that implements the Singleton design pattern for connecting the database using the PDO extension (PHP Data Objects). It provides an abstraction layer for accessing data, regardless of which database you are using, and ensures that there is a single object instance per database connection. It can connect to several possible SQL databases using the available PDO drivers. Currently it supports MySQL, PostgreSQL, SQLite, MariaDB, Oracle, Microsoft SQL server, Sybase, and CUBRID (a database highly optimized for Web applications). The class can also execute multiple queries at once given a string in JSON format that specifies the type of query, the tables, fields, field values, conditions, etc.
Zend Framework Models Generator generates Zend Framework model classes from MySQL, PostgreSQL, and SQLite databases. It can query a given database to retrieve the list of tables and their fields, and generates model classes for one table or for all tables of the specified database.
DB Schema Management is a class that can be used to: extract a database schema into a PHP script that defines the schema in an array; apply the extracted script to recreate the database schema; allow the editing of the extracted script to implement changes to the schema; and allow users of the application to create changes to the schema that are separate to the extracted script. It has support for pre- and post-processing scripts. It can require a minimum schema version to apply the update.