PHPackages                             gh640/phpunit-tap - 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. gh640/phpunit-tap

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

gh640/phpunit-tap
=================

Provides a TAP result printer for PHPUnit.

5.0.0(6y ago)5122.2k↓38.3%2[1 issues](https://github.com/gh640/phpunit-tap/issues)MITPHPPHP &gt;=7.3CI failing

Since Sep 3Pushed 6y ago2 watchersCompare

[ Source](https://github.com/gh640/phpunit-tap)[ Packagist](https://packagist.org/packages/gh640/phpunit-tap)[ Docs](https://github.com/gh640/phpunit-tap)[ RSS](/packages/gh640-phpunit-tap/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (2)Versions (10)Used By (0)

gh640/phpunit-tap
=================

[](#gh640phpunit-tap)

[![Build Status](https://camo.githubusercontent.com/8e7c2923e341df206a65cc9cf5e45fa566373b4164c63287ff672685852611c9/68747470733a2f2f7472617669732d63692e6f72672f67683634302f706870756e69742d7461702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gh640/phpunit-tap)

A simple Composer package which provides a TAP result printer for [PHPUnit](https://github.com/sebastianbergmann/phpunit).

[![capture](https://raw.githubusercontent.com/gh640/phpunit-tap/master/assets/capture.gif)](https://raw.githubusercontent.com/gh640/phpunit-tap/master/assets/capture.gif)

Usage
-----

[](#usage)

Install the package with Composer.

```
$ composer require --dev gh640/phpunit-tap

```

Specify the TAP result printer with the `--printer` option when running `phpunit`. The printer's FQCN is `gh640\PhpunitTap\TapResultPrinter`.

```
$ phpunit --printer gh640\PhpunitTap\TapResultPrinter [your test file]

```

You can pipe the output to your favorite TAP reporter/formatter. See also [sindresorhus/awesome-tap | GitHub](https://github.com/sindresorhus/awesome-tap).

```
$ phpunit --printer gh640\PhpunitTap\TapResultPrinter [your test file] | tap-dot
$ phpunit --printer gh640\PhpunitTap\TapResultPrinter [your test file] | tap-nyan
$ phpunit --printer gh640\PhpunitTap\TapResultPrinter [your test file] | tap-notify

```

Or, you can omit the option `--printer` by adding the option into your `phpunit.xml`.

```

```

Dependencies
------------

[](#dependencies)

This package depends on the following packages.

- `phpunit/phpunit`
- `symfony/yaml`

For the detailed dependencies, please have a look at the Packagist page.

- [gh640/phpunit-tap - Packagist](https://packagist.org/packages/gh640/phpunit-tap)

Issues
------

[](#issues)

If you find an issue, please file it in the issue queue.

[Issues · gh640/phpunit-tap · GitHub](/gh640/phpunit-tap/issues)

Reference
---------

[](#reference)

- PHPUnit
    - [PHPUnit – The PHP Testing Framework](https://phpunit.de/)
- TAP (Test Anything Protocol)
    - [Test Anything Protocol](https://testanything.org/)
    - [Test Anything Protocol - Wikipedia](https://en.wikipedia.org/wiki/Test_Anything_Protocol)
- Other PHPUnit printers: You might be interested in the other PHPUnit printers.
    - [whatthejeff/nyancat-phpunit-resultprinter - Packagist](https://packagist.org/packages/whatthejeff/nyancat-phpunit-resultprinter)
    - [memio/pretty-printer - Packagist](https://packagist.org/packages/memio/pretty-printer)
    - [thru.io/json-pretty-printer - Packagist](https://packagist.org/packages/thru.io/json-pretty-printer)
    - [kujira/phpunit-printer - Packagist](https://packagist.org/packages/kujira/phpunit-printer)
    - [scriptfusion/phpunit-immediate-exception-printer - Packagist](https://packagist.org/packages/scriptfusion/phpunit-immediate-exception-printer)
    - [diablomedia/phpunit-pretty-printer - Packagist](https://packagist.org/packages/diablomedia/phpunit-pretty-printer)
    - [zf2timo/phpunit-pretty-result-printer - Packagist](https://packagist.org/packages/zf2timo/phpunit-pretty-result-printer)

License
-------

[](#license)

Licensed under the MIT license.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 77.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 ~152 days

Recently: every ~184 days

Total

7

Last Release

2312d ago

Major Versions

1.0.0 → 2.0.02018-01-20

2.0.0 → 3.0.02018-02-24

3.0.2 → 4.0.02019-03-24

4.0.0 → 5.0.02020-03-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/3745a2a8537f76e1b5c3c91c37a4177825c2089fc946a5559e5c3e3097fb1db8?d=identicon)[gh640](/maintainers/gh640)

---

Top Contributors

[![gh640](https://avatars.githubusercontent.com/u/3532528?v=4)](https://github.com/gh640 "gh640 (34 commits)")[![morrislaptop](https://avatars.githubusercontent.com/u/67807?v=4)](https://github.com/morrislaptop "morrislaptop (6 commits)")[![artjomsimon](https://avatars.githubusercontent.com/u/2609170?v=4)](https://github.com/artjomsimon "artjomsimon (2 commits)")[![magnusnordlander](https://avatars.githubusercontent.com/u/165002?v=4)](https://github.com/magnusnordlander "magnusnordlander (2 commits)")

---

Tags

phpphpunittapphpunittesttapphpunit reporter

### Embed Badge

![Health badge](/badges/gh640-phpunit-tap/health.svg)

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

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k136.1M986](/packages/brianium-paratest)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k42.5M40.9k](/packages/orchestra-testbench)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69619.8M640](/packages/spatie-phpunit-snapshot-assertions)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1499.9M107](/packages/ergebnis-phpunit-slow-test-detector)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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