New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

yukabuki/pest-plugin-console

A Pest 4 plugin that enhances test output using Symfony Console and Termwind, with multi-language support.
30

Larablocks Analysis

yukabuki/pest-plugin-console works with any PHP project: the latest release (1.0.2, Mar 2, 2026) doesn't depend on Laravel.

Promising: maintained and up to date, meets 1 of 3 checks; not yet widely used.

  • Released in the last 12 months (Mar 2, 2026)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Maintained
  • Last stable release: Mar 2, 2026.
  • 1 release in the last 12 months.
  • First released: Mar 2, 2026.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require yukabuki/pest-plugin-console
Latest Version:1.0.2
PHP:^8.3
License:MIT
Last Updated:Mar 2, 2026
Links: GitHub  ·  Packagist
Maintainer: yukabuki

Pest Plugin Console

A Pest 4 plugin that enhances test output using Symfony Console, Termwind, and Symfony Translation.

Features

  • Real-time output — test results stream to the terminal as they run, with a progress bar
  • Rich colours — PASS / FAIL / WARN badges and coloured summary table
  • Multi-language support — English and French built-in, simple API to add your own locale
  • Zero-config opt-out — pass --no-console to fall back to the original Pest output

Requirements

  • PHP ^8.3
  • Pest ^4.0

Installation

composer require yukabuki/pest-plugin-console

The plugin is auto-discovered by Pest — no extra configuration needed.

Usage

Default (enhanced output)

./vendor/bin/pest

Opt out — original Pest output

./vendor/bin/pest --no-console

Change the display language

Pass --locale=XX to switch language for that run:

./vendor/bin/pest --locale=fr

Built-in locales: en (default), fr.

Add your own translation

1 — Create a translation file that returns an associative array:

// lang/de/messages.php
return [
    'section.tests'    => 'TESTS',
    'section.fail'     => 'FEHLER',
    'section.report'   => 'BERICHT',

    'badge.pass'       => 'PASS',
    'badge.fail'       => 'FAIL',
    'badge.warn'       => 'WARN',

    'table.passed'     => 'Bestanden',
    'table.failed'     => 'Fehlgeschlagen',
    'table.skipped'    => 'Übersprungen',
    'table.total'      => 'Gesamt',
    'table.assertions' => 'Assertions',
    'table.duration'   => 'Dauer',
    'table.avg'        => 'Ø',
];

2 — Register it in your tests/Pest.php bootstrap file:

// tests/Pest.php
use Yukabuki\PestPluginConsole\Translations\TranslationManager;

TranslationManager::instance()->addResourcePath(__DIR__.'/../lang/de/messages.php', 'de');

3 — Run with the locale flag:

./vendor/bin/pest --locale=de

Available translation keys

Key Description Default (EN)
section.tests Streaming section title TESTS
section.fail Failure details section title FAIL
section.report Summary table section title REPORT
badge.pass Badge when all tests in a class pass PASS
badge.fail Badge when at least one test fails FAIL
badge.warn Badge when tests are skipped WARN
table.passed Summary table column Passed
table.failed Summary table column Failed
table.skipped Summary table column Skipped
table.total Summary table column Total
table.assertions Summary table column Assertions
table.duration Summary table column Duration
table.avg Summary table column Avg

Debug — slow mode

Add a 500 ms delay between each test to inspect real-time output:

./vendor/bin/pest --slow

Contributing

Contributions are welcome. Please open an issue or submit a pull request on GitHub.

License

This package is open-sourced software licensed under the MIT license.

Alternatives to yukabuki/pest-plugin-console

pestphp/pest-plugin

The Pest plugin manager

113,252,656 49
nunomaduro/laravel-console-task

Laravel Console Task is a output method for your Laravel/Laravel Zero commands.

2,796,086 260
orchestra/pest-plugin-testbench

Pest plugin for Testbench

93,883 5
erikgaal/pest-plugin-sharding

Pest Plugin to split tests into multiple runs

616,586 2
nekofar/pest-plugin-slim

The Pest Slim Plugin

18,483 5

Version History

Version Released PHP License
1.0.2 ^8.3 MIT