SonarQube (formerly known as just “Sonar”) is a tool for finding “interesting” areas of your codebase.

PHP support in SonarQube is relatively new, but I was able to get it set up with a little googling. So I thought it’d be worthwhile to share my notes.

I’ve embedded the Gists containing my configuration steps, below:

Or if you prefer you can view my SonarQube / PHP install instructions on GitHub.