handcraftedinthealps/code-coverage-checker
CLI tool to enforce PHPUnit code coverage thresholds. Generate a coverage.php report, then check line/class/method coverage against a minimum percentage, optionally limited to specific directories—ideal for CI to fail builds when coverage drops.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| robiningelbrecht/phpunit-coverage-tools | 0.90 | 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 | 28K | 1 | 19.7 | 49.4 | MIT | 4 months ago | |
| jaschilz/php-coverage-badger | 0.89 | 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 | 54K | 0 | 0.7 | 50.0 | MIT | 9 years ago | |
| shipmonk/coverage-guard | 0.86 | Enforce PHP code coverage in CI by targeting specific core methods/blocks instead of overall %. Legacy-friendly: enforce only new/changed code via git patch. Lightweight (nikic/php-parser), extensible rules, easy CLI to check PHPUnit Clover reports. | 55 | 55 | 1 | 9K | 0 | 21.5 | 35.9 | MIT | 2 weeks ago | |
| testo/codecov | 0.86 | 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 | 12K | 0 | 0.0 | 55.3 | — | — | |
| wyrihaximus/test-utilities | 0.86 | A set of PHP test utilities for package development: a PHPUnit TestCase with helpers like random namespaces and temp directories, plus ready-made configuration defaults for PHPStan and Rector (paths and docblock-to-attribute conversions). | 7 | 7 | 1 | 145K | 6 | 34.0 | 69.9 | MIT | 2 days ago | |
| edgedesign/phpqa | 0.85 | — | 564 | 567 | 59 | 14K | 2 | 20.2 | 21.4 | MIT | 8 months ago | |
| phpcq/repository-definition | 0.85 | Repository definition package for the PHPCQ (PHP Code Quality) project, used to automate and configure code quality checks in CI pipelines. Part of the phpcq.org ecosystem built around tools like PHP_CodeSniffer and PHPMD. | 0 | 0 | 0 | 44 | 0 | 0.0 | 22.8 | MIT | — | |
| codeception/c3 | 0.85 | C3 is Codeception’s remote code coverage helper for PHP apps. It collects coverage from web/functional tests by instrumenting your entry point and forwarding results back to the test runner, making it easy to measure coverage on remote servers and CI. | 74 | 74 | 46 | 109K | 7 | 11.8 | 46.4 | — | 2 years ago | |
| covex-nn/phpcb | 0.85 | PHP Code Beautifier (phpcb) for formatting and cleaning up PHP codebases. Helps apply consistent styling, improve readability, and standardize code output across projects and teams, suitable for use in local workflows or automation. | 2 | 2 | 2 | 6 | 0 | 0.0 | 4.7 | BSD-3-Clause | — | |
| digitalrevolution/phpunit-file-coverage-inspection | 0.85 | Define per-file code coverage thresholds from Clover coverage.xml, with directory/file overrides and optional uncovered-method rules. Fails builds with checkstyle or GitLab formatted reports so a single file can’t hide behind high overall coverage. | 5 | 5 | 2 | 3K | 1 | 15.7 | 39.8 | MIT | 7 months ago | |
| covex-nn/phpqatools | 0.85 | — | 4 | 5 | 0 | 0 | 0 | 0.0 | — | — | — | |
| arty/php-coding-standard | 0.85 | — | 2 | 3 | 0 | 8 | 0 | 11.2 | 9.6 | MIT | 7 months ago | |
| nette/tester | 0.85 | Nette Tester is a lightweight PHP testing framework for unit tests and test suites. It offers simple assertions, data-driven tests, informative output, and easy CLI integration. Ideal for fast, reliable testing in PHP projects and CI pipelines. | 486 | 496 | 72 | 74K | 13 | 33.9 | 42.0 | NOASSERTION | 2 months ago | |
| phpunit/php-code-coverage | 0.83 | phpunit/php-code-coverage collects, processes, and renders PHP code coverage data. Integrate it in test runs to start/stop coverage collection, filter included files, and generate reports such as OpenClover, including from serialized coverage data. | 8,933 | 8,977 | 385 | 14M | 5 | 72.9 | 54.2 | BSD-3-Clause | 6 days ago | |
| rregeer/phpunit-coverage-check | 0.83 | — | 60 | 63 | 15 | 150K | 2 | 4.1 | 47.5 | MIT | 6 years ago | |
| kylekatarnls/multi-tester | 0.83 | Run unit tests across multiple Composer projects after changing a shared package. Multi-tester swaps your local package into dependent projects’ vendor dirs and runs their test suites (Travis CI-style supported), catching integration breakages early. | 4 | 4 | 5 | 67K | 0 | 21.6 | 61.3 | MIT | 4 months ago | |
| phpunit/phpunit | 0.83 | PHPUnit is the de facto unit testing framework for PHP, based on the xUnit architecture. Run tests, make assertions, and integrate with CI and code coverage. Install via PHAR or Composer and build reliable PHP applications. | 20,042 | 20,557 | 2,226 | 15M | 15 | 79.5 | 54.0 | BSD-3-Clause | 1 week ago | |
| stefanzweifel/laravel-stats-phploc | 0.82 | Fork of sebastianbergmann/phploc used to keep wnx/laravel-stats compatible across Laravel versions by supporting multiple sebastian/version releases. Measures PHP project size and structure (LOC, complexity, dependencies). Not intended for real projects. | 5 | 5 | 1 | 26K | 0 | 22.6 | 58.9 | BSD-3-Clause | 1 week ago | |
| robiningelbrecht/phpunit-coverage-check | 0.81 | 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 | — | |
| dvdoug/behat-code-coverage | 0.79 | Behat extension that generates code coverage reports for PHP applications. Wraps PHPUnit’s php-code-coverage library to produce familiar, interoperable reports and integrates coverage generation into your Behat test runs. | 62 | 62 | 16 | 100K | 0 | 26.1 | 51.3 | BSD-2-Clause | 1 month ago |
How can I help you explore Laravel packages today?