PHP Object Relational Mapper

Is there any ORM for generating PHP object oriented code (classes) using database tables to abstract me of creating database connection and SQL commands?

This tool exists for many other languages (C#, Python) and reads the database metadata generating code using this information.

Thanks in advance.

After posting this thread I found a lot of them but I can’t find one that supports DB2 natively.