PHPackages                             abwebdevelopers/phpunit-presenter - 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. abwebdevelopers/phpunit-presenter

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

abwebdevelopers/phpunit-presenter
=================================

A presentable result printer for PHPUnit

1.2.0(5y ago)3860MITPHPCI failing

Since Sep 23Pushed 5y agoCompare

[ Source](https://github.com/ABWebDevelopers/phpunit-presenter)[ Packagist](https://packagist.org/packages/abwebdevelopers/phpunit-presenter)[ RSS](/packages/abwebdevelopers-phpunit-presenter/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

PHPUnit Presenter
=================

[](#phpunit-presenter)

Displays the PHPUnit test results in a more presentable and friendly format. The Presenter includes timings for tests, colour support and better displays of errors and failures.

[![Presenter Output](https://camo.githubusercontent.com/9752b25a1ae2bc7c24d1c399425cddf4faa0e15d56dea3b468ece9e054d28136/68747470733a2f2f61627765622e636f6d2e61752f696d672f70726573656e7465722e706e67)](https://camo.githubusercontent.com/9752b25a1ae2bc7c24d1c399425cddf4faa0e15d56dea3b468ece9e054d28136/68747470733a2f2f61627765622e636f6d2e61752f696d672f70726573656e7465722e706e67)

**This has *only* been tested with PHPUnit `^7.5`**. However, this plugin still allows PHPUnit up to `^9.0` (via composer.json) to ease dependency restrictions but please note that things may not work as expected (use at your own 'risk').

Features
--------

[](#features)

- Different formatting types depending on your preferences.
- Grouping of test cases and suites.
- Time taken for each test case.
- Optional colour support.

How to use
----------

[](#how-to-use)

Simply include this library via Composer:

```
composer require --dev abwebdevelopers/phpunit-presenter

```

And then add it to your `phpunit.xml` file as the `printerClass` attribute

```

```

Configuration
-------------

[](#configuration)

The Presenter can be configured via environment variables. The following environment variables are used:

Environment VariableDefaultDescription`PRESENTER_SHOW_TIMES``1`Displays the time taken for test cases. Set to `0` to disable.`PRESENTER_COLOURS``1`Displays colouring of CLI output. Set to `0` to disable. It is recommended to disable colours for test environments, ie. Travis CI.`PRESENTER_HIDE_SUCCESSFUL``0`If enabled, will hide all successful tests, and only show failed or errored tests. Set to `1` to enable.`PRESENTER_FORMAT``default`Sets the format used to display results via Presenter. Valid values are `default`, `feed` and `condensed`. It is recommended to use `feed` or `condensed` for test environments, ie. Travis CI.Formats
-------

[](#formats)

There are three types of formatting of the results displayed by Presenter - `default`, `feed` and `condensed`.

`default` and `feed` display the same information (shown in the screenshot above), however, `default` uses CLI line overwriting to show real-time progress of tests. This may not work with some log readers used in test environments (such as Travis CI), so it is recommended to use `feed` for test environments.

A third format `condensed` presents test results in a condensed format closer to PHPUnit's default result printer. When using `condensed`, it is implied that `PRESENTER_SHOW_TIMES` is set to `0`. The formatting of condensed looks similar to this:

[![Presenter Condensed Output](https://camo.githubusercontent.com/8d4b1d9682d9ff84eabadb590464153af7804acda646846744a8dd9eb512a0f6/68747470733a2f2f61627765622e636f6d2e61752f696d672f70726573656e7465722d636f6e64656e7365642e706e67)](https://camo.githubusercontent.com/8d4b1d9682d9ff84eabadb590464153af7804acda646846744a8dd9eb512a0f6/68747470733a2f2f61627765622e636f6d2e61752f696d672f70726573656e7465722d636f6e64656e7365642e706e67)

License
-------

[](#license)

MIT.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

2168d ago

### Community

Maintainers

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

---

Tags

printerphpunitunittestsresultspresentation

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/abwebdevelopers-phpunit-presenter/health.svg)

```
[![Health](https://phpackages.com/badges/abwebdevelopers-phpunit-presenter/health.svg)](https://phpackages.com/packages/abwebdevelopers-phpunit-presenter)
```

###  Alternatives

[diablomedia/phpunit-pretty-printer

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

78515.2k5](/packages/diablomedia-phpunit-pretty-printer)[aik099/phpunit-mink

Library for using Mink in PHPUnit tests. Supports session sharing between tests in a test case.

72136.2k1](/packages/aik099-phpunit-mink)[elliotchance/concise

Concise is test framework for using plain English and minimal code, built on PHPUnit.

45223.8k4](/packages/elliotchance-concise)[phpunit/phpunit-dom-assertions

DOM assertions for PHPUnit

29343.5k11](/packages/phpunit-phpunit-dom-assertions)[kujira/phpunit-printer

A PhpUnit result printer

2042.8k1](/packages/kujira-phpunit-printer)

PHPackages © 2026

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