Analyze the quality of your php code (Symfony, legacy, Laravel, Drupal, Prestashop, etc ...)
3.8K
A modern PHP static analysis tool distributed via Docker, designed as an alternative to
phpmetrics/phpmetrics. Analyzes your PHP code and generates detailed reports on complexity, maintainability, coupling, architecture, and more.
Author: Pascal CESCON GitHub: Amoifr/PhpQuality
Beautiful multi-page HTML reports with:
# Basic analysis with auto-detection
docker run --rm \
-v $(pwd):/project \
-v $(pwd)/reports:/reports \
amoifr13/phpquality \
analyze --source=/project/src --report-html=/reports
# Specify project type (symfony, laravel, wordpress, etc.)
docker run --rm \
-v $(pwd):/project \
-v $(pwd)/reports:/reports \
amoifr13/phpquality \
analyze --source=/project/src --type=symfony --report-html=/reports
# Enable git blame for Hall of Fame/Shame
docker run --rm \
-v $(pwd):/project \
-v $(pwd)/reports:/reports \
amoifr13/phpquality \
analyze --source=/project/src --report-html=/reports --git-blame
| Option | Description |
|---|---|
--source, -s | Source directory to analyze (required) |
--type, -t | Project type: auto, symfony, laravel, wordpress,prestashop, magento, drupal, joomla, etc. |
--report-html | Output directory for HTML report |
--json | Output JSON report to file |
--lang, -l | Report language (en, fr, de, es, it, ...) |
--git-blame | Enable git blame analysis (Hall of Fame/Shame) |
--exclude, -x | Additional directories to exclude |
--fail-on-violation | Exit with error if violations found (CI mode) |
--list-types | List available project types |
--list-langs | List available languages |
MIT
Content type
Image
Digest
sha256:de31e8763…
Size
42.5 MB
Last updated
5 months ago
docker pull amoifr13/phpquality