creedengo-php

March 6, 2026 ยท View on GitHub

creedengo is a collective project aiming to reduce environmental footprint of software at the code level. The goal of the project is to provide a list of static code analyzers to highlight code structures that may have a negative ecological impact: energy and resources over-consumption, "fatware", shortening terminals' lifespan, etc.

creedengo is based on evolving catalogs of good practices, for various technologies. This SonarQube plugin then implements these catalogs as rules for scanning your PHP projects.

โš ๏ธ This is still a very early stage project. Any feedback or contribution will be highly appreciated. Please refer to the contribution section.

License: GPL v3 Contributor Covenant

๐ŸŒฟ SonarQube Plugins

This plugin is part of the creedengo project.
You can find a list of all our other plugins in the creedengo repository

๐Ÿš€ Getting Started

You can give a try with a one command docker :

docker run -ti --rm \
       -p 9000:9000 \
       --name sonarqube-creedengo-php ghcr.io/green-code-initiative/sonarqube-creedengo-php:latest

or (with logs and data locally stored) :

docker run -ti --rm \
       -v sq_creedengo_logs:/opt/sonarqube/logs \
       -v sq_creedengo_data:/opt/sonarqube/data \
       -p 9000:9000 \
       --name sonarqube-creedengo-php ghcr.io/green-code-initiative/sonarqube-creedengo-php:latest

... and configure local SonarQube (security config and quality profile : see configuration for more details).

To install other creedengo plugins, you can also :

  • download each plugin separatly and copy the plugin (jar file) to $SONAR_INSTALL_DIR/extensions/plugins and restart SonarQube.
  • install different creedengo plugins with Marketplace (inside admin panel of SonarQube)

Then you can use PHP test project repository to test the environment : see README.md of PHP test project

๐Ÿ›’ Distribution

Ready to use binaries are available from GitHub.

๐Ÿงฉ Compatibility

Plugin versionSonarQube versionJava version
1.4.+9.4.+ LTS to 10.6.011 / 17
1.5.+9.9.+ LTS to 10.6.011 / 17
2.0.+9.9.+ to 10.1.017
2.1.+10.2.+ LTS to 25.1.+17
2.1.+25.2.+ LTS to 25.12.+17 / 21
2.1.+26.1.+ LTS to 26.3.+21

Compatibility table of versions lower than 1.4.+ are available from the main creedengo repository.

๐Ÿค Contribution

check creedengo repository

๐Ÿค“ Main contributors

check creedengo repository