PHPackages                             warmans/code-report - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. warmans/code-report

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

warmans/code-report
===================

Convert raw code metrics into attractive reports

0.2.1(11y ago)012PHPPHP &gt;=5.4.0

Since Jun 19Pushed 11y ago1 watchersCompare

[ Source](https://github.com/warmans/code-report)[ Packagist](https://packagist.org/packages/warmans/code-report)[ Docs](https://github.com/warmans/code-report)[ RSS](/packages/warmans-code-report/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (7)Versions (4)Used By (0)

Code Report
===========

[](#code-report)

[![Build Status](https://camo.githubusercontent.com/e96fee981abd94ab7442a190d768df2ba14966f3f4a33e776f1cf4cc0bcd93ef/68747470733a2f2f7472617669732d63692e6f72672f7761726d616e732f636f64652d7265706f72742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/warmans/code-report)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7cd150e1c9fce140819843bf2ddb8024f9a2edc34626b8f40c9a8185be816f1b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7761726d616e732f636f64652d7265706f72742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/warmans/code-report/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/384a15e01c10e54094f24b23d2e16050f81cef446b8c1f8dce62be4878e27a8c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7761726d616e732f636f64652d7265706f72742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/warmans/code-report/?branch=master)

Generate attractive static HTML reports from raw code metrics. These are useful for CI servers which do not have built in reports.

Supported Input Formats
-----------------------

[](#supported-input-formats)

- [Phploc XML](https://github.com/sebastianbergmann/phploc)
- checkstyle

Usage
-----

[](#usage)

```
code-report generate [path to input file] [path to output directory]

```

### PhpLOC Example

[](#phploc-example)

```
./vendor/bin/phploc --log-xml phploc.xml src/
./code-report generate phploc.xml /tmp/code-report/.

```

### Checkstyle Example

[](#checkstyle-example)

```
./vendor/bin/phpcs --standard="PSR2" src/* --report-checkstyle=./checkstyle.xml
./code-report generate checkstyle.xml /tmp/code-report/.

```

###  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

Maturity50

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

Every ~115 days

Total

3

Last Release

4121d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1299401?v=4)[SW](/maintainers/warmans)[@warmans](https://github.com/warmans)

---

Tags

codeMetricsreportci

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/warmans-code-report/health.svg)

```
[![Health](https://phpackages.com/badges/warmans-code-report/health.svg)](https://phpackages.com/packages/warmans-code-report)
```

###  Alternatives

[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[drutiny/drutiny

This is a generic Drupal 7 and Drupal 8 site auditing and optional remediation tool.

132122.2k17](/packages/drutiny-drutiny)[jimmyjs/laravel-report-generator

Rapidly Generate Simple Pdf &amp; Excel Report on Laravel 5 (Using Barryvdh/DomPdf or Barryvdh/laravel-snappy &amp; maatwebsite/excel)

580157.4k1](/packages/jimmyjs-laravel-report-generator)[easybook/easybook

Book publishing application

76011.5k](/packages/easybook-easybook)

PHPackages © 2026

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