handcraftedinthealps/code-coverage-checker
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.
app/, packages/, or domain modules—for example, 95% line coverage for billing logic and 80% for utility code—without buying a platform.--coverage-php reports in CI.handcraftedinthealps/code-coverage-checker as a dev dependency, generate a PHPUnit coverage report, and run it as a CI step. Example: vendor/bin/code-coverage-checker coverage.php line 90 app/. It supports line/method/class thresholds and directory filters, fails fast with files below target, and fits existing GitHub Actions/GitLab CI workflows. Pilot it on app/Domain or another high-risk area, pin the version, and revisit if we later need dashboards or trend reporting.”How can I help you explore Laravel packages today?