PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PHP » PHP_UML

A reverse-engineering package that scans PHP files and directories, and delivers an UML/XMI representation of the classes and packages found.

This package is unmaintained.

Download latest release 1.6.2 (archived versions might be outdated)

License: LGPL

Description

PHP_UML is a PHP parser, an XMI generator and a documentation tool.
Practically, with PHP_UML, you will be able to feed a UML CASE tool, like Rational Rose or Argouml, with a UML representation of existing PHP source code. This way, you get an instant overview of a PHP application, with all the usual functions of a software design tool (such as class diagrams exportation, refactoring of object-oriented applications, or automatic code generation).

PHP_UML:
- Can generate UML/XMI files in version 1.4, or in version 2.1 (logical, component, and deployment views)
- Can generate an API documentation in HTML format
- Can generate PHP code (code skeleton) from a given XMI file
- Can convert UML/XMI content from version 1.4 to version 2.1

PHP_UML:
- Parses object-oriented PHP code, in all versions (classes, interfaces, functions, properties...)
- From version 1.5, PHP_UML can also parse procedural code (functions and constants). See the "htmlnew" exportation format
- Interprets the PHP namespacing instructions (namespace and use)
- Parses comment docblocks: class (@package), function (@param, @return), property (@var) and header file comments (@package)
- Detects types (by parsing the type hints, and by analyzing the default values)

Documentation

Manual

Maintainers

Dependencies

Required

Releases

Bugs

IDStatusTypeVersionDateSummary
#15523ClosedBug0.5.02009-01-06<?php instead of <?
#15524ClosedBug0.5.02009-01-06no php code generation tool
#15525ClosedBug0.5.02009-01-06phpuml.bat installed on unix system
#15577ClosedBug0.5.12009-01-09version not set
#16265ClosedReqCVS2009-05-26Add options to skip @internal and ignore @package/@subpackage
#16284ClosedBug0.5.22009-06-04E_STRICT: Non-static PHP_UML_PHP_Parser::getCurrentPackage() called statically
#16409ClosedBug0.5.32009-07-06Dependency Console_CommandLine Not Installed
#16549ClosedBug1.0.02009-08-27Local variables get added to field summary/detail
#16735ClosedReqCVS2009-10-24Packages with no class inside should not be shown in overview pane.
#16924ClosedBug1.5.02009-12-18Fatal error....
#17247ClosedBug1.5.12010-03-19Catchable fatal error
#17433BogusBug1.5.22010-05-25Method arguments names imported with dollar sign
#17434ClosedReq1.5.22010-05-25Ignore hidden folders when generating XMI file by default
#17884ClosedBug1.5.22010-09-22bug while parsing T_USE
#17885ClosedBug1.5.22010-09-22:$currentQn is not reseted
#17886No FeedbackBug1.5.22010-09-22Unknown types are considered as "mixed"
#17936ClosedBug1.5.22010-10-07Notice: Undefined variable: errorLevel
#18021ClosedBug1.5.32010-11-01Path to php interpreter is hardcoded
#18022ClosedBug1.5.32010-11-01Path to phpuml.xml is hardcoded
#18525ClosedBug1.5.52011-05-11Package cannot be installed through WAMP and PEAR on Windows XP
#18629ClosedBug1.5.52011-06-27UML->read/saveXMI are deprecated and UML->xmiExporter private
#18674ClosedBug1.5.52011-07-20Use of htmlentities instead of htmlspecialchars
#20046ClosedBug2013-08-21Generated xmi files are not readable by viewers
#20152DuplicateBug1.6.12013-12-20Increase ID entropy
#20153DuplicateBug1.6.12013-12-20Increase ID entropy
#20235OpenReqSVN2014-04-07Move to Github?
#20288BogusBug1.6.12014-05-30Can't import XMI into ArgoUML
#20289DuplicateBug1.6.12014-05-30Can't import XMI into ArgoUML
#20442ClosedBug1.6.12014-11-20Fatal Error: Cannot find XML definition file when
#21024OpenBug1.6.22016-02-02XML Schema Definition outdated?