Doli (Documentation Libre Indexée) is a portable system to index and search documentation. The system consists of an indexer, and a Tcl-based Web server which provides the search interface. It was designed to provide a platform-independent method for searching HTML documentation. A PHP and MySQL interface is also included.
PHP Generator of Object SQL Database generates objects from the description of table in an SQL database. Each object map is a table in the SQL database, and has methods to insert, modify, and delete an entry in the database. But they also have methods to show forms, and to get data after an HTTPD post, or a get. They have iterator methods, and call your function for each entry of your request. Some templates help you to write HTML forms. This can help when you change databases, as the API is the same all the time, and you don't have to patch the PHP objects, but just regenerate them.
Other php generating code projet for database structure.
I only want to tell you there's another projet which generate php class from the sql structure:
PHP Generator of Object SQL Database ( pgosd ).