Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Code Coverage Checker Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Code Coverage Checker ⛰

GitHub license GitHub tag (latest SemVer)

A code coverage checker for phpunit.

Installation

composer require handcraftedinthealps/code-coverage-checker --dev

Usage

Generate coverage

phpunit --coverage-php "Tests/reports/coverage.php"

Check coverage

vendor/bin/code-coverage-checker "Tests/reports/coverage.php" "line" "96.0"

Instead of line you can use class or method. You can also check only specific directories:

vendor/bin/code-coverage-checker "Tests/reports/coverage.php" "line" "96.0" "Directory/A" "Directory/B"

Example Output

!Exmaple code coverage checker output

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky