Search by

opcov / phpunit

stubbedev

PHPUnit 12/13 and Pest 4/5 integration for the opcov coverage extension

Package info

github.com/stubbedev/opcov-phpunit

Homepage

Issues

Documentation

Type:composer-plugin

pkg:composer/opcov/phpunit

Statistics

Installs: 27

Dependents: 0

Suggesters: 0

Stars: 0

v0.4.0 2026-11-26 14:30 UTC

This package is auto-updated.

Last update: 2026-11-26 19:17:38 UTC


README

PHPUnit 12/13 and Pest 4 integration for opcov, the opcode-level line, branch-outcome and loop coverage extension for PHP.

composer require --dev opcov/phpunit

It also installs the opcov command as vendor/bin/opcov: the package is a Composer plugin that downloads the native binary matching its version and checks it against the release's checksums (allow it with composer config allow-plugins.opcov/phpunit true, or let vendor/bin/opcov download it on first use).

The extension itself installs with pie install opcov/opcov (see docs/install.md). Usage, configuration, paratest, the PHPUnit 13.3 coverage driver and the .cov converter are documented in docs/phpunit.md.

This repository is a read-only split of php/phpunit in stubbedev/opcov, published on every change there. Report issues and send pull requests to stubbedev/opcov.