PHPXref

From LemonWiki共筆
Jump to navigation Jump to search

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 be located 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


version:

  • PHPXref 0.7
  • IndigoPerl V9.02 / Perl 5.10.0