PHPackages                             diablomedia/phpunit-pretty-printer - 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. diablomedia/phpunit-pretty-printer

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

diablomedia/phpunit-pretty-printer
==================================

A PHPUnit result printer that shows per-file test progress and execution times

v5.0.0(4y ago)78515.2k↑121.4%13[2 issues](https://github.com/diablomedia/phpunit-pretty-printer/issues)[3 PRs](https://github.com/diablomedia/phpunit-pretty-printer/pulls)5MITPHPPHP ^7.3 || ^8.0.0 || ^8.1.0

Since Feb 16Pushed 2y ago5 watchersCompare

[ Source](https://github.com/diablomedia/phpunit-pretty-printer)[ Packagist](https://packagist.org/packages/diablomedia/phpunit-pretty-printer)[ Docs](https://github.com/diablomedia/phpunit-pretty-printer)[ RSS](/packages/diablomedia-phpunit-pretty-printer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)DependenciesVersions (16)Used By (5)

phpunit-pretty-printer
======================

[](#phpunit-pretty-printer)

[![Build](https://github.com/diablomedia/phpunit-pretty-printer/workflows/Build/badge.svg?event=push)](https://github.com/diablomedia/phpunit-pretty-printer/actions?query=workflow%3ABuild+event%3Apush)[![Latest Stable Version](https://camo.githubusercontent.com/96a0d0d4104e5110666b93ede7d35a99463d023511a423485e0f0fe6e80ac009/68747470733a2f2f706f7365722e707567782e6f72672f646961626c6f6d656469612f706870756e69742d7072657474792d7072696e7465722f762f737461626c65)](https://packagist.org/packages/diablomedia/phpunit-pretty-printer)[![Total Downloads](https://camo.githubusercontent.com/83a17ceef9e2dc1d7504bdbc7ed799077e7edf35bb8caefe23befa7c34cc7ade/68747470733a2f2f706f7365722e707567782e6f72672f646961626c6f6d656469612f706870756e69742d7072657474792d7072696e7465722f646f776e6c6f616473)](https://packagist.org/packages/diablomedia/phpunit-pretty-printer)[![License](https://camo.githubusercontent.com/aaf7198a2f2c54173e865f0f86db6f4cb9359bcef86f28f699f1c7b7088c4914/68747470733a2f2f706f7365722e707567782e6f72672f646961626c6f6d656469612f706870756e69742d7072657474792d7072696e7465722f6c6963656e7365)](https://packagist.org/packages/diablomedia/phpunit-pretty-printer)

A PHPUnit result printer that shows per-file test progress and execution times.

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

[](#installation)

```
composer.phar require --dev diablomedia/phpunit-pretty-printer
```

Usage
-----

[](#usage)

**It's suggested to use the phpunit installed by composer.**

You can specify the printer to use on the phpunit command line:

```
php vendor/bin/phpunit --printer 'DiabloMedia\PHPUnit\Printer\PrettyPrinter' tests/
```

To see per-test execution times, use the `--debug` flag:

```
php vendor/bin/phpunit --printer 'DiabloMedia\PHPUnit\Printer\PrettyPrinter' --debug tests/
```

Optionally, you can add it to your project's `phpunit.xml` file instead:

```

```

Screenshots
-----------

[](#screenshots)

Default output:

[![phpunit-pretty-printer](https://cloud.githubusercontent.com/assets/1278449/13678034/d76eda8a-e6a9-11e5-8c6b-04b6ec9976eb.png "Default output")](https://cloud.githubusercontent.com/assets/1278449/13678034/d76eda8a-e6a9-11e5-8c6b-04b6ec9976eb.png)

Debug output showing time to run:

[![phpunit-pretty-printer-debug](https://cloud.githubusercontent.com/assets/1278449/13678037/e0a09986-e6a9-11e5-891a-08c7b6389fca.png "Debug output showing time to run")](https://cloud.githubusercontent.com/assets/1278449/13678037/e0a09986-e6a9-11e5-891a-08c7b6389fca.png)

Acknowledgements
----------------

[](#acknowledgements)

Inspiration for the default output was taken from .

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity51

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 59.3% of commits — single point of failure

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

Total

11

Last Release

1625d ago

Major Versions

v1.0.1 → v2.0.02017-04-18

2.x-dev → 3.0.02018-04-10

3.0.0 → v4.0.02018-08-07

4.x-dev → v5.0.02021-12-06

PHP version history (4 changes)v1.0.0PHP &gt;=5.5.0

v2.0.0PHP &gt;=7.0.0

3.0.0PHP ^7.1

v5.0.0PHP ^7.3 || ^8.0.0 || ^8.1.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/136907?v=4)[Jay Klehr](/maintainers/jaydiablo)[@jaydiablo](https://github.com/jaydiablo)

![](https://avatars.githubusercontent.com/u/1278449?v=4)[Ari Pringle](/maintainers/aripringle)[@aripringle](https://github.com/aripringle)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (83 commits)")[![aripringle](https://avatars.githubusercontent.com/u/1278449?v=4)](https://github.com/aripringle "aripringle (25 commits)")[![jaydiablo](https://avatars.githubusercontent.com/u/136907?v=4)](https://github.com/jaydiablo "jaydiablo (11 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (10 commits)")[![thinkspill](https://avatars.githubusercontent.com/u/822133?v=4)](https://github.com/thinkspill "thinkspill (4 commits)")[![garak](https://avatars.githubusercontent.com/u/179866?v=4)](https://github.com/garak "garak (2 commits)")[![kdlug](https://avatars.githubusercontent.com/u/20188314?v=4)](https://github.com/kdlug "kdlug (2 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (2 commits)")[![Fr33maan](https://avatars.githubusercontent.com/u/3482025?v=4)](https://github.com/Fr33maan "Fr33maan (1 commits)")

---

Tags

phpunitprinterphpunitunittestresult

### Embed Badge

![Health badge](/badges/diablomedia-phpunit-pretty-printer/health.svg)

```
[![Health](https://phpackages.com/badges/diablomedia-phpunit-pretty-printer/health.svg)](https://phpackages.com/packages/diablomedia-phpunit-pretty-printer)
```

###  Alternatives

[dg/bypass-finals

Removes final keyword from source code on-the-fly and allows mocking of final methods and classes

57026.3M456](/packages/dg-bypass-finals)[kujira/phpunit-printer

A PhpUnit result printer

2042.8k1](/packages/kujira-phpunit-printer)[ta-tikoma/phpunit-architecture-test

Methods for testing application architecture

10745.9M13](/packages/ta-tikoma-phpunit-architecture-test)[colinodell/psr-testlogger

PSR-3 compliant test logger based on psr/log v1's, but compatible with v2 and v3 too!

1712.1M47](/packages/colinodell-psr-testlogger)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1468.1M72](/packages/ergebnis-phpunit-slow-test-detector)[icecave/isolator

Dependency injection for global functions.

371.3M29](/packages/icecave-isolator)

PHPackages © 2026

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