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

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

whatthejeff/nyancat-phpunit-resultprinter
=========================================

Nyan Cat result printer for PHPUnit

v2.0.0(8y ago)283689.8k↓26.6%21[3 issues](https://github.com/whatthejeff/nyancat-phpunit-resultprinter/issues)[3 PRs](https://github.com/whatthejeff/nyancat-phpunit-resultprinter/pulls)20MITPHPPHP ^7

Since Feb 15Pushed 7y ago4 watchersCompare

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

READMEChangelogDependencies (2)Versions (8)Used By (20)

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

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

[](#requirements)

The Nyan Cat result printer for PHPUnit requires:

- PHP 7+.
- PHPUnit 6+.
- A terminal emulator with support for ANSI escape sequences, including color and cursor control.

Use version `^1.3` to support PHPUnit 4.8+ / 5+.

**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": {
        "whatthejeff/nyancat-phpunit-resultprinter": "^2.0"
    }
}
```

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

```
printerFile="vendor/whatthejeff/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"

```

Tests
-----

[](#tests)

[![Build Status](https://camo.githubusercontent.com/6f3400b3440448d294357dd0d5174f925f8f9610881d0a181e2d5661dc4c260a/68747470733a2f2f7472617669732d63692e6f72672f776861747468656a6566662f6e79616e6361742d706870756e69742d726573756c747072696e7465722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/whatthejeff/nyancat-phpunit-resultprinter)

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

46

—

FairBetter than 93% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity53

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 86% 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 ~298 days

Recently: every ~419 days

Total

7

Last Release

3051d ago

Major Versions

v1.3.0 → v2.0.02018-01-10

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

1.3.x-devPHP ^5.3.3 || ^7

v2.0.0PHP ^7

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

nyan-catphpphpunitprintertestsphpunittestsrainbownyancat

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[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)[hot/phpunit-runner

The lib allows to watch phpunit tests

3066.9k4](/packages/hot-phpunit-runner)

PHPackages © 2026

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