Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install the PHP Environment
  2. Install the plugin through the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
  3. Restart the SonarQubeTM server

Usage

Run

...

anAnalysis with the SonarQubeTM

...

Runner (Recommended Way)

To run an analysis of your PHP project, use the Sonar SonarQubeTM Runner.

Sample projects are available on GitHub that can be browsed or downloaded: /projects/languages/php.

You can also have a look at the Sonar SonarQubeTM Runner documentation page to define a multi-module PHP project.

Run

...

an Analysis with the other Analyzers

Maven and Ant can also be used to launch analysis on PHP projects.

...