PHPackages                             mayflower/php-codebrowser - 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. mayflower/php-codebrowser

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

mayflower/php-codebrowser
=========================

A code browser that augments the code with information from various QA tools.

4.0.1(2y ago)1352.2M—7.5%30[5 issues](https://github.com/Mayflower/PHP_CodeBrowser/issues)20BSD-3-ClausePHPPHP ^8.0

Since Oct 6Pushed 2y ago33 watchersCompare

[ Source](https://github.com/Mayflower/PHP_CodeBrowser)[ Packagist](https://packagist.org/packages/mayflower/php-codebrowser)[ Docs](https://github.com/Mayflower/PHP_CodeBrowser)[ RSS](/packages/mayflower-php-codebrowser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (22)Used By (20)

PHP\_CodeBrowser
================

[](#php_codebrowser)

[![Latest Stable Version](https://camo.githubusercontent.com/e6c5a551afb7aceb3bda38fba5ad269d3b167a57b4d4ad043885947bd9c43fb9/68747470733a2f2f706f7365722e707567782e6f72672f6d6179666c6f7765722f7068702d636f646562726f777365722f762f737461626c652e706e67)](https://packagist.org/packages/mayflower/php-codebrowser)[![Build Status](https://camo.githubusercontent.com/9f15aeaa762d0a2416857c5921e74d47a50903d3b4b00599f01adf1372123c5f/68747470733a2f2f7472617669732d63692e6f72672f6d6179666c6f7765722f5048505f436f646542726f777365722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/mayflower/PHP_CodeBrowser)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/5857b886a05bc43d1fd6ddfd6b50e1e9363560d58359a698bdb01bb30b0bb80c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d6179666c6f7765722f5048505f436f646542726f777365722f6261646765732f7175616c6974792d73636f72652e706e673f733d32633033373966306566656139363664616561656633666335616266386164623461393130623234)](https://scrutinizer-ci.com/g/Mayflower/PHP_CodeBrowser/)[![Code Coverage](https://camo.githubusercontent.com/2cf7aaa031bd2abf3a7a8bc928ea6b84ff9e5c46e02d958401ad4c0ca8da58a2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d6179666c6f7765722f5048505f436f646542726f777365722f6261646765732f636f7665726167652e706e673f733d35343332333865336439666234353834643863623331653361663438653637656438343666396535)](https://scrutinizer-ci.com/g/Mayflower/PHP_CodeBrowser/)[![SensioLabsInsight](https://camo.githubusercontent.com/0d432f036432620ca5426dcaa1be8844b04291ba9623c0a4627bf18ac8a1c626/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37393230353030382d316333642d343134322d616238312d6139343635303038643434302f6d696e692e706e67)](https://insight.sensiolabs.com/projects/79205008-1c3d-4142-ab81-a9465008d440)

Structure
---------

[](#structure)

```
|--> bin/           PHP_CodeBrowser scripts
|--> src/           Source files for PHP_CodeBrowser
|   |--> Plugins/   Plugins for different error handling/types
|
|--> templates/     Template files for PHP_CodeBrowser
|   |--> css/       Used CSS by templates, Color definition for errors
|   |--> img/       Used images for PHP_CodeBrowser
|   |--> js/        Used javascript for PHP_CodeBrowser
|
|--> tests/         PHPUnit test suite
|
|--> package.xml    PEAR package information file
|
|--> LICENCE        Licence information
|--> README         Structure and install information
|--> CHANGELOG      Update information

```

Installation
------------

[](#installation)

### Git Checkout

[](#git-checkout)

```
$ git clone git://github.com/Mayflower/PHP_CodeBrowser.git

```

### Installation via Composer

[](#installation-via-composer)

Add this line to the require section in composer.json:

```
"mayflower/php-codebrowser": "~1.1"

```

Or to install it globally

```
composer global require "mayflower/php-codebrowser=~1.1"

```

### Get PHAR

[](#get-phar)

see [Releases](https://github.com/Mayflower/PHP_CodeBrowser/releases)

Usage
-----

[](#usage)

### Shell Usage

[](#shell-usage)

```
Try ./bin/phpcb.php -h for usage information.

```

### Integration in Jenkins, CruiseControl and Hudson

[](#integration-in-jenkins-cruisecontrol-and-hudson)

```
...

...

...

```

View the Results
----------------

[](#view-the-results)

### Webbrowser

[](#webbrowser)

Open `/path/to/defined/output/index.html`.

### CruiseControl

[](#cruisecontrol)

#### config.xml

[](#configxml)

```

  ...

```

#### main.jsp

[](#mainjsp)

```

```

### Jenkins/Hudson

[](#jenkinshudson)

Have a look at the [standard template for Jenkins jobs for PHP projects](https://github.com/sebastianbergmann/php-jenkins-template) to see how PHP\_CodeBrowser can be used together with Jenkins.

Contact Information
-------------------

[](#contact-information)

If you have any questions you may get in contact with: Elger Thiele or Thorsten Rinne

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity56

Moderate usage in the ecosystem

Community45

Growing community involvement

Maturity77

Established project with proven stability

 Bus Factor4

4 contributors hold 50%+ of commits

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 ~212 days

Recently: every ~252 days

Total

19

Last Release

790d ago

Major Versions

1.1.4 → 2.02018-08-12

2.4.0 → 3.0.02021-06-15

3.0.2 → 4.0.02023-04-18

PHP version history (5 changes)2.0PHP ^7.1

2.3PHP ^7.2

2.4.0PHP ^7.3

3.0.0PHP ^7.3||^8.0

4.0.0PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

[![MichelHartmann](https://avatars.githubusercontent.com/u/274451?v=4)](https://github.com/MichelHartmann "MichelHartmann (32 commits)")[![calbrecht](https://avatars.githubusercontent.com/u/1516457?v=4)](https://github.com/calbrecht "calbrecht (28 commits)")[![mmoll](https://avatars.githubusercontent.com/u/1434927?v=4)](https://github.com/mmoll "mmoll (27 commits)")[![globin](https://avatars.githubusercontent.com/u/1447245?v=4)](https://github.com/globin "globin (26 commits)")[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (26 commits)")[![thorsten](https://avatars.githubusercontent.com/u/45284?v=4)](https://github.com/thorsten "thorsten (15 commits)")[![mhujer](https://avatars.githubusercontent.com/u/353372?v=4)](https://github.com/mhujer "mhujer (6 commits)")[![piotr-cz](https://avatars.githubusercontent.com/u/612953?v=4)](https://github.com/piotr-cz "piotr-cz (4 commits)")[![dsp](https://avatars.githubusercontent.com/u/14013?v=4)](https://github.com/dsp "dsp (3 commits)")[![ravage84](https://avatars.githubusercontent.com/u/625761?v=4)](https://github.com/ravage84 "ravage84 (2 commits)")[![covex-nn](https://avatars.githubusercontent.com/u/110878?v=4)](https://github.com/covex-nn "covex-nn (2 commits)")[![nicodmf](https://avatars.githubusercontent.com/u/173332?v=4)](https://github.com/nicodmf "nicodmf (1 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (1 commits)")[![oudingfan](https://avatars.githubusercontent.com/u/2810552?v=4)](https://github.com/oudingfan "oudingfan (1 commits)")[![tacman](https://avatars.githubusercontent.com/u/619585?v=4)](https://github.com/tacman "tacman (1 commits)")[![tommygnr](https://avatars.githubusercontent.com/u/929392?v=4)](https://github.com/tommygnr "tommygnr (1 commits)")[![voidus](https://avatars.githubusercontent.com/u/124298?v=4)](https://github.com/voidus "voidus (1 commits)")[![croensch](https://avatars.githubusercontent.com/u/903943?v=4)](https://github.com/croensch "croensch (1 commits)")[![cs278](https://avatars.githubusercontent.com/u/17377?v=4)](https://github.com/cs278 "cs278 (1 commits)")[![devbdaily](https://avatars.githubusercontent.com/u/9142409?v=4)](https://github.com/devbdaily "devbdaily (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mayflower-php-codebrowser/health.svg)

```
[![Health](https://phpackages.com/badges/mayflower-php-codebrowser/health.svg)](https://phpackages.com/packages/mayflower-php-codebrowser)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

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

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k15.5M904](/packages/phpro-grumphp)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)

PHPackages © 2026

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