Download the PHP package josrom/phpunit-unicode-printer without Composer

On this page you can find all versions of the php package josrom/phpunit-unicode-printer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phpunit-unicode-printer

PHPUnit Unicode Printer

Total Downloads Latest Stable Version License

Requirements

Installation

Require the package with Composer:

Or update your require-dev block manually and run composer update:

Configuration (PHPUnit 10 / 11 / 12 / 13)

PHPUnit 10 removed the printerClass XML attribute and replaced the printer architecture with an event-driven extension system, which PHPUnit 11, 12 and 13 keep. Register the printer as a <bootstrap> extension in your phpunit.xml:

Pick one of the three available extensions depending on the level of detail you want:

Extension class Output
PHPUnit\Extension\UnicodePrinter One progress symbol per test, grouped by test directory.
PHPUnit\Extension\UnicodePrinterClass One progress symbol per test, grouped by directory + class.
PHPUnit\Extension\UnicodePrinterMethod One full row per test ((N/M) ✓ Class: Method (Xms)).

Status symbols

Status Symbol Color
Passed ✓ green
Failed ✗ red
Errored ✗ magenta
Warning ✗ yellow
Risky ✓ yellow
Deprecation ⚠ yellow
Notice ℹ cyan
Incomplete ✓ blue
Skipped ✗ blue

To make a test be flagged as Risky, set beStrictAboutTestsThatDoNotTestAnything="true" on <phpunit> and write a test method without any assertion.

Disable PHPUnit's default progress output

PHPUnit 10/11/12/13 always renders its own dotted progress (.IIFWES…). To avoid two progress streams interleaving, run PHPUnit with the --no-progress flag:

A convenient way is to alias it in your composer.json scripts section:

Note: --no-progress is a CLI-only option; there is no equivalent attribute on the <phpunit> element.

Migrating from older versions

The old printerClass="..." attribute was removed by PHPUnit 10. Replace any of these:

with the corresponding <extensions> block shown above. The original three class names map to the new ones as:

Before (PHPUnit ≤ 9) After (PHPUnit 10 / 11 / 12 / 13)
PHPUnit\Printer PHPUnit\Extension\UnicodePrinter
PHPUnit\PrinterClass PHPUnit\Extension\UnicodePrinterClass
PHPUnit\PrinterMethod PHPUnit\Extension\UnicodePrinterMethod

Older PHPUnit versions

For previous versions of PHPUnit use these tags:

PHPUnit Tag
12 12.*
11 11.*
10 10.*
9 9.*
8 0.4.* or 8.*
7 0.3.* or 7.*
6 0.2.*
<5 0.1.*

All versions of phpunit-unicode-printer with dependencies

PHP Build Version
Package Version
Requires phpunit/phpunit Version ^13.0
php Version ^8.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package josrom/phpunit-unicode-printer contains the following files

Loading the files please wait ...