PHiMX is a command-line tool to generate XMI code of a project in PHP5. It can analyze recursively several directories of PHP scripts, supports various XMI formats and allows to integrate your own include_path.
Php2Xmi is a command-line tool written in PHP which scans PHP classes and builds an XMI file with UML representaion of classes found. XMI could be viewed using KDE's Umbrello modelling tool