PHPackages                             pengbin/codecoverage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. pengbin/codecoverage

ActiveLibrary[Testing &amp; Quality](/categories/testing)

pengbin/codecoverage
====================

web php-fpm代码覆盖率

V1.0.1(2y ago)010MITPHPPHP ^8.0

Since Jul 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ScottPengBin/php-code-coverage)[ Packagist](https://packagist.org/packages/pengbin/codecoverage)[ RSS](/packages/pengbin-codecoverage/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Web Code Coverage for Laravel
=============================

[](#web-code-coverage-for-laravel)

---

Getting Started
---------------

[](#getting-started)

The installation step below work on the latest versions of the Laravel framework (8.x and 9.x).

### Install

[](#install)

Install the `pengbin/codecoverage` package:

```
composer require pengbin/codecoverage
```

Enable capturing unhandled exception to report to Sentry by making the following change to your `App/Exceptions/Handler.php`:

### Configure

[](#configure)

Configure the code\_coverage path

```
return [

    'collect_path' => env('COLLECT_PATH', app_path('Services')),
    'report_data_path' => env('REPORT_DATA_PATH', public_path(config('app.code_coverage_report_path', 'code-coverage-report'))),
];
```

You can creates the config file (`code_coverage.php`)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1042d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ccf676f241810058fd19f9a1b5e7c3115a7cb4764f76b32abcb2797c71b0c940?d=identicon)[ScottPengBin](/maintainers/ScottPengBin)

### Embed Badge

![Health badge](/badges/pengbin-codecoverage/health.svg)

```
[![Health](https://phpackages.com/badges/pengbin-codecoverage/health.svg)](https://phpackages.com/packages/pengbin-codecoverage)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[hotmeteor/spectator

Testing helpers for your OpenAPI spec

3021.4M1](/packages/hotmeteor-spectator)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8017.0M43](/packages/orchestra-workbench)[botble/git-commit-checker

Check coding standard &amp; code syntax with Git pre-commit hook.

47186.4k1](/packages/botble-git-commit-checker)[guanguans/laravel-soar

SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。

2227.8k](/packages/guanguans-laravel-soar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
