New

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

benholmen/defrag

MS-DOS defrag output for your PHPUnit test suite
1,476 93

Larablocks Analysis

benholmen/defrag works with Laravel 10 and 11 (latest release 0.1.6, Feb 21, 2024), all past end of life (the last on Mar 12, 2026): no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 10 and 11, past end of life since Mar 12, 2026
  • No release in the last 12 months (last: Feb 21, 2024)
  • 0 downloads a month (needs 10,000)
  • 93 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Feb 21, 2024.
  • No releases in the last 12 months.
  • First released: Oct 15, 2023.
  • 1 open issue on GitHub.

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

Install
composer require benholmen/defrag
Latest Version:0.1.6
PHP:^8.1
Laravel:10 · 11
License:MIT
Last Updated:Jul 8, 2024
Links: GitHub  ·  Packagist
Maintainer: benholmen

Defragment your PHPUnit tests

This package generates a satisfying Defrag-style output when running your PHPUnit test suite.

Sample output

Inspired by

MS-DOS 6.x included a defrag utility that honestly was just so satisfying to watch. The 90s were a different time, folks. Disk defragmentation took about an hour and physically rearranged the data on your hard drive so it was more efficient to read off the disk.

Defrag Running in MS-DOS 6.22

Defrag Running in MS-DOS 6.22

Installation

Install the package via composer:

composer require benholmen/defrag --dev

Add the following lines to your phpunit.xml file:

<extensions>
    <bootstrap class="BenHolmen\Defrag\Extension"/>
</extensions>

Usage

Run PHPUnit as usual:

vendor/bin/phpunit

Testing

Of course, this produces the defrag output you'd expect.

composer test

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

Alternatives to benholmen/defrag

spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

24,222,959 697
rawphp/warp

Warm-worker test engine for Laravel + Pest — boots the app once per process and...

11,554 1
alvarodelera/pest-wp-plugin

Pest plugin for WordPress testing with SQLite support and zero-config setup

3,583 5
fruitcake/phpunit-tia-laravel

Laravel integration for phpunit-tia: links tests to the views they render and th...

4,041 0
stateforge/scenario-laravel

Laravel adapter for Stateforge Scenario Core – declarative, attribute-driven sce...

1,186 0

Version History

Version Released PHP Laravel License
0.1.6 ^8.1 ^10.0|^11.0 MIT
0.1.5 ^8.1 ^10.0|^11.0 MIT
0.1.4 ^8.1 MIT
0.1.3 ^8.1 MIT
0.1.2 ^8.1 MIT