PHPackages                             jeroen/nyancat-phpunit-resultprinter - 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. jeroen/nyancat-phpunit-resultprinter

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

jeroen/nyancat-phpunit-resultprinter
====================================

Nyan Cat result printer for PHPUnit

v2.4.0(5y ago)442.4k↓35.7%1MITPHPPHP &gt;=7.1

Since Feb 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/JeroenDeDauw/nyancat-phpunit-resultprinter)[ Packagist](https://packagist.org/packages/jeroen/nyancat-phpunit-resultprinter)[ Docs](http://github.com/whatthejeff/nyancat-phpunit-resultprinter)[ RSS](/packages/jeroen-nyancat-phpunit-resultprinter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (12)Used By (1)

[![GitHub Workflow Status](https://camo.githubusercontent.com/eaf45e1f1d811045fc09ababcc4d88a53019a791d32db100e2791d7cf5b8a268/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f4a65726f656e4465446175772f6e79616e6361742d706870756e69742d726573756c747072696e7465722f6275696c64)](https://github.com/JeroenDeDauw/nyancat-phpunit-resultprinter/actions?query=workflow%3Abuild)[![Latest Stable Version](https://camo.githubusercontent.com/31c1f3ec48e0f4fd59583577f781e9b2c02679587205e255ea57bfb2631357df/68747470733a2f2f706f7365722e707567782e6f72672f6a65726f656e2f6e79616e6361742d706870756e69742d726573756c747072696e7465722f76657273696f6e2e706e67)](https://packagist.org/packages/jeroen/nyancat-phpunit-resultprinter)[![Download count](https://camo.githubusercontent.com/23c987e2d30217a4cbb7c55861214152b119040fcc4cbccea0a2e8d56a81aeef/68747470733a2f2f706f7365722e707567782e6f72672f6a65726f656e2f6e79616e6361742d706870756e69742d726573756c747072696e7465722f642f746f74616c2e706e67)](https://packagist.org/packages/jeroen/nyancat-phpunit-resultprinter)

[![Video of the Nyan Cat result printer for PHPUnit](https://github.com/JeroenDeDauw/nyancat-phpunit-resultprinter/raw/master/nyan.gif)](https://github.com/JeroenDeDauw/nyancat-phpunit-resultprinter/raw/master/nyan.gif)

Requirements
------------

[](#requirements)

The Nyan Cat result printer for PHPUnit requires a terminal emulator with support for ANSI escape sequences, including color and cursor control.

   PHPUnit PHP ~=\[,,\_,,\]:3   Nyan v2.4 9.x, 8.x, 7.x &gt;=7.1 ✔   Nyan v2.3 8.x, 7.x ~7.1 ✔   Nyan v2.1 &amp; 2.2 7.x ~7.1 ✔   Nyan v2.0 6.x ~7.0 ✔   Nyan v1.3 4.x, 5.x ~7.0|^5.3.3 ✔ **NOTE:** By default, the Windows console does not support ANSI escape sequences. If you'd like to use the Nyan Cat result printer on Windows, you may want to try one of the following solutions:

- [ANSICON](https://github.com/adoxa/ansicon)
- [ConEmu](https://github.com/Maximus5/ConEmu)

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

[](#installation)

The recommended way to install the Nyan Cat result printer for PHPUnit is [through composer](http://getcomposer.org). Just create a `composer.json` file and run the `composer install` command to install it:

```
{
    "require-dev": {
        "jeroen/nyancat-phpunit-resultprinter": "^2.0"
    }
}
```

Once installed, add the following attributes to the `` element in your `phpunit.xml` file:

```
printerFile="vendor/jeroen/nyancat-phpunit-resultprinter/src/NyanCat/PHPUnit/ResultPrinter.php"
printerClass="NyanCat\PHPUnit\ResultPrinter"

```

**NOTE:** If PHPUnit was not installed via composer, you also need to include the composer autoloader. One easy way to do this is to add the following attribute to the `` element in your `phpunit.xml` file:

```
bootstrap="vendor/autoload.php"

```

Switching over from whatthejeff
-------------------------------

[](#switching-over-from-whatthejeff)

To switch from `whatthejeff/nyancat-phpunit-resultprinter` to `jeroen/nyancat-phpunit-resultprinter`, you need to

1. Update your `composer.json`: replace `whatthejeff/nyancat` by `jeroen/nyancat`
2. Update your `phpunit.xml`: replace `vendor/whatthejeff/` by `vendor/jeroen/`
3. Run `composer update`

Tests
-----

[](#tests)

To run the test suite, you need [composer](http://getcomposer.org).

```
$ composer install
$ composer test

```

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

[](#acknowledgements)

The Nyan Cat result printer for PHPUnit was **heavily** inspired by the glorious [mocha/nyan.js](https://github.com/visionmedia/mocha/blob/master/lib/reporters/nyan.js).

License
-------

[](#license)

The Nyan Cat result printer for PHPUnit is licensed under the [MIT license](LICENSE).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 55.2% 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 ~324 days

Recently: every ~282 days

Total

10

Last Release

1920d ago

Major Versions

v1.3.0 → v2.0.02018-01-10

PHP version history (5 changes)v1.0.0PHP &gt;=5.3.3

v1.3.0PHP ^5.3.3 || ^7

v2.0.0PHP ^7

v2.1.0PHP ^7.1

v2.4.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/451bd4039d530fed8f9c3da91bfa519233a397d2182cdfdcad700f6cfea19b7f?d=identicon)[Jeroen De Dauw](/maintainers/Jeroen%20De%20Dauw)

---

Top Contributors

[![whatthejeff](https://avatars.githubusercontent.com/u/306525?v=4)](https://github.com/whatthejeff "whatthejeff (37 commits)")[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (21 commits)")[![chasepeeler](https://avatars.githubusercontent.com/u/155993?v=4)](https://github.com/chasepeeler "chasepeeler (3 commits)")[![johnkary](https://avatars.githubusercontent.com/u/135607?v=4)](https://github.com/johnkary "johnkary (3 commits)")[![TiMESPLiNTER](https://avatars.githubusercontent.com/u/598854?v=4)](https://github.com/TiMESPLiNTER "TiMESPLiNTER (2 commits)")[![gilo-agilo](https://avatars.githubusercontent.com/u/7155996?v=4)](https://github.com/gilo-agilo "gilo-agilo (1 commits)")

---

Tags

phpunittestsrainbownyancat

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jeroen-nyancat-phpunit-resultprinter/health.svg)

```
[![Health](https://phpackages.com/badges/jeroen-nyancat-phpunit-resultprinter/health.svg)](https://phpackages.com/packages/jeroen-nyancat-phpunit-resultprinter)
```

###  Alternatives

[whatthejeff/nyancat-phpunit-resultprinter

Nyan Cat result printer for PHPUnit

283689.8k24](/packages/whatthejeff-nyancat-phpunit-resultprinter)[whatthejeff/nyancat-scoreboard

Nyan Cat Scoreboard

19985.0k4](/packages/whatthejeff-nyancat-scoreboard)[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)[phpunit/phpunit-dom-assertions

DOM assertions for PHPUnit

29343.5k11](/packages/phpunit-phpunit-dom-assertions)[whatthejeff/fab-phpunit-resultprinter

Make your unit tests fabulous!

208.8k1](/packages/whatthejeff-fab-phpunit-resultprinter)[janmarek/mockista

Mockista is library for mocking, which I've written, because I find mocking in PHPUnit awful.

29221.0k28](/packages/janmarek-mockista)

PHPackages © 2026

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