PHP_CodeBrowser Release version 0.1.0

Mayflower is proud to announce the release of the open source tool PHP_CodeBrowser in the current version 0.1.0-alpha.

What is PHP_CodeBrowser

PHP_CodeBrowser is a tool mainly intended to be used in conjunction with CruiseControl.
It provides a code browser for PHP files with syntax highlighting and colored error-sections
found by quality assurance tools like PHPUnit or PHP_CodeSniffer.
The visualisation of errors, warnings or notices, found by above mentioned kind of tools,
is the real power of PHP_CodeBrowser.
You may also use PHP_CodeBrowser as a stand alone version, but therefore you would need previous generated XML error files.

Integration in phpUnderControl

PHP_CodeBrowser features

PHP_CodeBrowser comes along with syntax highlighting, colored error sections and a smart clickable error overview.
Supported are XML report files generated from following supported quality assurance tools:

  1. PHPUnit
  2. CPD
  3. Padawan
  4. CodeSniffer

Colored error sections

Why should you use it

Because it’s cool, and it helps strongly getting an complete overview over your code quality in single files.

Clickable error list overview


If you would like to try out, please check out source directly from SVN:

svn co svn:// PHP_CodeBrowser

or use pear installation routine:

pear config-set preferred_state alpha
pear channel-discover
pear install –alldeps phpunit/PHP_CodeBrowser

For the integration in cruisecontrol, please have a look at the README file,
or use the current version of phpUnderControl.

Für neue Blogupdates anmelden:

12 Gedanken zu “PHP_CodeBrowser Release version 0.1.0

  1. Looks really cool, but how to get it working. The phpcb keeps failing with:

    The source defined by parameter –source, differs to the source extracted from log files!

    As far as I can tell its coming from PluginError::getRelativeFilePath() which is getting passed NULL to $absolutePath.

      • i tried every possible source path but nothing worked for me. since i’m using phpunit reports the code browser stopped working with the same error message:

        The source defined by parameter –source, differs to the source extracted from log files!

        • Seems like you are using a different source for phpcb. You will have to use the same folder and path you took for generating your phpunit reports.
          Try using current version 0.1.1. In this version the –source parameter is optional.

  2. Wie es dem ThinkPHP Blog zu entnehmen ist, wurde vor einigen Tagen der PHP_CodeBrowser in der Version 0.1.0 Alpha veröffentlicht. Generell dient das Tool zur Begutachtung des Quellcodes eines PHP-Projekts. Der Clou jedoch daran ist, dass man mit Hilfe …

  3. After quite some time of silence around phpUnderControl I have bundled the 0.5.0 release today. Beside minor changes, bugfixes and enhancements this release contains one new major feature, the PHP_CodeBrowser. phpUnderControl integrating PHP_Code

  4. Looks cool, but it doesn’t seem to do anything. It doesn’t give any errors, but the resulting index.html file just says „PHP CodeBrowser Summary No violations are found“ and the cbCodeBrowser.xml file is empty.

    The contents of my logs directory is checkstyle.xml (which has no errors/warnings), phpunit.coverage.xml, and phpunit.xml.

    Any advice?

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *