PHPXref is a Perl script to make working with the source code of a large PHP site somewhat easier. It allows you to: Cross references classes, interfaces, functions, variables, constants and database tables defined and used across your various PHP files, and generates documentation for each class & function defined in the PHP files by utilizing formatted comments placed next to each function. The output is a tree of HTML files that can be downloaded and browsed on a local machine without having to setup a web server, etc.