PHP_CodeBrowser 0.9.0 is out

PHP_CodeBrowser is a tool that creates good looking web pages from your code and annotates them with problems found by checkstyle, pmd and others.

We have covered the release of PHP_CodeBroser version 0.1.0-alpha some months ago, see this post. Now, we’re proud to announce version 0.9.0-beta.

It features a neat interface that let you find errors even quicker, a clear commandline interface and much better performance, it’s almost seven times faster than the 0.1.x release.

You can get it via pear, just do

pear channel-discover pear.phpunit.de

pear config-set preferred_state beta

pear install phpunit/PHP_CodeBrowser

or you can check out the from github, just visit http://github.com/mayflowergmbh/PHP_CodeBrowser or just try

git clone git://github.com/mayflowergmbh/PHP_CodeBrowser.git

 Here are some pictures to give you an impression of what it looks like

This is the overview page

And this is how the real code browser looks like.

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

Installation

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

svn co svn://phpunit.de/phpunit/phpcb/trunk PHP_CodeBrowser

or use pear installation routine:


pear config-set preferred_state alpha
pear channel-discover pear.phpunit.de
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.

PHPUnit Motivational Poster

Sometimes developers aren’t motivated to write a lot of unit tests.
Now we got some help when your phpunit code coverage goes below 80%. A PHPUnit Motivational Poster, done by the anonymous phpunit fan club.

Feel free to download it and be motivated!
PHPUnitMotivation.pdf

Thanks to Sebastian for the exceptional scary look and Jo for the idea.