codacy/coverage
Deprecated PHP coverage reporter that sends PHPUnit coverage results (Clover XML, or PHPUnit XML for PHPUnit <4) to your Codacy dashboard. No longer maintained; use the codacy-coverage-reporter instead.
Architecture fit
codacy/coverage is a thin, single-purpose CLI phar that parses a Clover (or legacy PHPUnit XML) report and POSTs it to the Codacy coverage API using a project token and commit identifier. It is not a library, has no Laravel service provider, facade, config file, or Artisan integration — it sits entirely outside the application runtime and only touches the CI pipeline.codacy-coverage-reporter. This is a terminal-state artifact, not a component to build on.Integration feasibility
require-dev, emit Clover from PHPUnit (--coverage-clover build/logs/clover.xml or the <coverage><report><clover/></report></coverage> block in phpunit.xml), then invoke the phar in CI with CODACY_PROJECT_TOKEN and the commit SHA.dev-master, which is an unpinned, mutable dependency — unacceptable for reproducible CI in a governed repo.composer outdated tooling cannot see or patch what is inside it.php artisan test --parallel, ParaTest) produces multiple coverage artifacts that must be merged before upload; the reporter expects a single file and offers no merge capability.open_basedir, or outbound egress to api.codacy.com.Technical risk
dev-master phar in require-dev is a standing audit finding. Even though dev-only, it executes arbitrary code in CI with access to a project token.Key questions
Stack fit
codacy-coverage-reporter — either the standalone binary/container or the get.sh one-liner (report -r build/logs/clover.xml with CODACY_PROJECT_TOKEN). Container form is preferable in CI because it pins the runtime and avoids host JVM/glibc variance.Migration path
composer.json/lock files and CI configs for codacy/coverage and for existing --coverage-clover invocations.--min threshold locally).codacy/coverage from require-dev, run composer update --lock, and confirm no phar remains in vendor/.Compatibility
Sequencing
Maintenance
dev-master dependency is a recurring finding in dependency-review and security-review processes; expect to re-justify it every audit cycle until it's removed.Support
-v/set -x and inspect HTTP responses manually.Scaling
Failure modes
api.codacy.com egress. Older bundled TLS stacks are more likely to fail against modern endpoints.phar.readonly, open_basedir, or policy-driven binary allowlists.Ramp-up
How can I help you explore Laravel packages today?