UML2PHP5 is a plugin designed to fit on the Dia diagram application. It automatically generates the PHP code structure following the diagram’s classes. PHP5’s and java’s object model increasing similarity for example, there was an urgent need to update the tools for programmers. The version 2.1.1 is a compatibility release with the latest Dia 0.95.
http://php5.phpmagazine.net/upload/2006/04/uml2php5-thumb.jpg