PHPXref: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
(新頁面: [http://phpxref.sourceforge.net/ PHPXref - The PHP Cross Referencing Documentation Utility] Using PHPXref on MS Windows == requirement == # [http://phpxref.sourceforge.net/#download Dow...)
 
m (add demo)
Line 1: Line 1:
[http://phpxref.sourceforge.net/ PHPXref - The PHP Cross Referencing Documentation Utility]
[http://phpxref.sourceforge.net/ PHPXref - The PHP Cross Referencing Documentation Utility] ([http://xref.moodle.org/nav.html?index.html demo])


Using PHPXref on MS Windows
Using PHPXref on MS Windows

Revision as of 00:31, 8 May 2009

PHPXref - The PHP Cross Referencing Documentation Utility (demo)

Using PHPXref on MS Windows

requirement

  1. Download PHPXref for MS Windows
  2. Download IndigoPerl, a binary distribution of Perl for Windows (not use the xampp built-in perl or TinyPerl)

installation

  1. Install the "IndigoPerl" to the default directory: c:\perl-5.10.0\ (perl.exe will locate to c:\perl-5.10.0\bin\perl.exe)
  2. Extract "PHPXref" to c:\PHPXref (or other directory you preferred)
  3. Modify the perl path of the file c:\PHPXref\phpxref.bat
    C:\Perl\bin\perl phpxref.pl 
    to
    c:\perl-5.10.0\bin\perl.exe 
  4. Copy the php_scripts you want to analyze to c:\PHPXref\source\php_scripts\

generation the cross reference report

  1. Execute the c:\PHPXref\phpxref.bat and wait some minutes...
  2. Browse the generated page URL: file://c:\PHPXref\output/index.html