phpunit/php-code-coverage
phpunit/php-code-coverage collects, processes, and renders PHP code coverage data. It provides drivers, filters, and report generation for PHPUnit test suites, including serialized coverage data and OpenClover output, helping teams track which lines of code tests execute.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| league/phpunit-coverage-listener | 0.89 | A PHPUnit listener from The League of Extraordinary Packages that hooks into test runs to capture code coverage and surface it for CI reporting. Use it to keep coverage visible alongside test results, monitor trends, and make untested code easier to spot while helping teams enforce coverage threshol... | 48 | 50 | 7 | 169 | 3 | 0.6 | 6.6 | MIT | 13 years ago | |
| rregeer/phpunit-coverage-check | 0.89 | — | 60 | 62 | 16 | 132K | 2 | 4.1 | 46.7 | MIT | 7 years ago | |
| php-coveralls/php-coveralls | 0.89 | PHP client for Coveralls that uploads Clover-style code coverage reports from PHPUnit and other test tools. Install via Composer or download the PHAR. Works with GitHub and common CI services (GitHub Actions, Travis, CircleCI, Jenkins, Codeship). | 514 | 521 | 123 | 255K | 7 | 19.1 | 42.3 | MIT | 10 months ago | |
| shipmonk/coverage-guard | 0.89 | Enforce code coverage in CI by targeting core functionality instead of percentages. Legacy-friendly and extensible, it lets you require coverage only for chosen methods and, with a patch, only for new code. Lightweight and easy to start. | 60 | 61 | 0 | 196K | 0 | 20.9 | 56.7 | MIT | 2 weeks ago | |
| robiningelbrecht/phpunit-coverage-tools | 0.88 | Enforce minimum PHPUnit code coverage using Clover XML reports. Fails the test run with exit code 1 when coverage drops below a threshold—ideal for CI/CD and pre-commit hooks. Configure via phpunit.xml and run with --min-coverage plus --coverage-clover. | 17 | 17 | 4 | 33K | 1 | 16.4 | 49.3 | MIT | 7 months ago | |
| robiningelbrecht/phpunit-coverage-check | 0.88 | PHPUnit Coverage Check is a lightweight PHP tool to verify code coverage meets a required minimum. It reads PHPUnit coverage reports and fails builds when thresholds aren’t reached—useful for CI pipelines to enforce coverage standards in Laravel and PHP projects. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| phpunit/phpcov | 0.88 | phpcov is a CLI frontend for php-code-coverage. It merges PHPUnit --coverage-php .cov files from parallel or split runs and generates combined reports (HTML, Clover, etc.) or exports merged data back to a .cov file. | 238 | 241 | 55 | 587K | 1 | 2.9 | 46.8 | BSD-3-Clause | — | |
| testo/codecov | 0.88 | Testo code coverage plugin: collects line and branch coverage during test runs and generates CI-friendly reports (Clover, Cobertura, PHPUnit XML). Supports per-test attribution so tools can map covered lines back to the test that exercised them. | 0 | 0 | 0 | 14K | 0 | 0.0 | 55.3 | — | — | |
| henrikbjorn/phpspec-code-coverage | 0.87 | Deprecated PhpSpec extension that generates code coverage reports (HTML by default, plus clover/php/text) with configurable whitelists/blacklists and output paths. Install via Composer, enable in phpspec.yml, run phpspec (or phpdbg on PHP 7+). | 97 | 100 | 28 | 2K | 0 | 2.2 | 12.3 | MIT | 10 years ago | |
| suin/php-expose | 0.87 | Expose helps PHPUnit tests access private/protected properties and methods in PHP objects. Use a simple fluent API to set non-public attributes and call hidden methods without changing production code. Requires PHP 5.3+ and installs via Composer. | 5 | 5 | 1 | 84 | 0 | 0.1 | 16.2 | — | — | |
| friends-of-phpspec/phpspec-code-coverage | 0.87 | PhpSpec extension that generates code coverage reports (console and HTML) for your specs. Works with Xdebug, phpdbg or pcov and supports multiple PhpSpec/PHP versions, helping you see which parts of your codebase are exercised by tests. | 20 | 21 | 14 | 23K | 4 | 7.9 | 44.1 | NOASSERTION | 1 year ago | |
| phpunit/phpunit-dom-assertions | 0.87 | Adds expressive DOM assertions to PHPUnit for testing HTML and XML output, letting you assert elements, attributes, text content, and structure using a fluent, readable API built on Symfony's DomCrawler and CssSelector components. | 29 | — | 13 | — | 1 | 6.3 | — | NOASSERTION | 8 months ago |
|
| jaschilz/php-coverage-badger | 0.87 | Generate an SVG code coverage badge from a PHPUnit Clover XML report. Install via Composer and run the included CLI to turn clover.xml into a coverage.svg badge for your CI or README. | 12 | 12 | 5 | 37K | 0 | 0.7 | 47.7 | MIT | 9 years ago | |
| nnjeim/respond | 0.87 | — | 5 | 5 | 1 | 6 | 0 | 0.7 | 4.2 | MIT | 5 years ago | |
| handcraftedinthealps/code-coverage-checker | 0.87 | A small CLI tool for PHPUnit that reads a --coverage-php report and fails when line, class, or method coverage falls below a threshold you set. Limit checks to specific directories if needed, making it easy to gate CI builds on real coverage numbers. | 6 | 6 | 4 | 3K | 0 | 17.6 | 40.3 | MIT | 3 months ago | |
| phpfui/phpunit-syntax-coverage | 0.87 | A PHPUnit extension that measures PHP syntax coverage, showing which language constructs and parser nodes your test suite actually exercises. Use it to spot untested syntax like new operators, match expressions, or traits, then close those gaps with focused tests. | 2 | 3 | 0 | 154 | 0 | 16.2 | 27.1 | MIT | 2 months ago | |
| phpstan/phpstan-phpunit | 0.87 | PHPStan extension for PHPUnit that improves mock object and assert type inference, supports MockBuilder and phpDoc intersections, and adds optional strict rules for more precise, framework-aware static analysis. | 546 | 550 | 58 | 6M | 34 | 44.3 | 79.3 | MIT | 4 weeks ago | |
| amoifr/phpquality-bundle | 0.87 | Symfony bundle and Docker image for PHP static code analysis. Generates reports on complexity, maintainability, coupling, architecture/SOLID layer violations, and coverage. Built as a modern replacement for the unmaintained phpmetrics/phpmetrics. | 4 | 4 | 0 | 2 | 0 | 0.0 | 2.0 | — | — | |
| vstelmakh/covelyzer | 0.87 | Covelyzer analyzes PHP code coverage reports to highlight uncovered code, summarize coverage by file, and help teams enforce quality thresholds. Use it to spot weak spots, guide testing efforts, and keep coverage visible in CI. | 1 | — | 0 | — | 0 | 0.0 | — | MIT | 6 years ago |
|
| contributte/phpunit | 0.86 | PHPUnit integration helpers by Contributte for PHP projects. Provides lightweight tooling and conventions to simplify writing, running, and organizing tests, with sensible defaults and compatibility aimed at smoother CI and developer experience. | 1 | 2 | 2 | 1K | 0 | 9.9 | 41.9 | MIT | 10 months ago |
How can I help you explore Laravel packages today?