benholmen/defrag
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 advisedNot 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 |
Defragment your PHPUnit tests
This package generates a satisfying Defrag-style output when running your PHPUnit test suite.

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
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
- Ben Holmen
- Jess Archer key intel, assistance, and the fantastic laravel/prompts package
License
The MIT License (MIT). Please see License File for more information.
Alternatives to benholmen/defrag
Warm-worker test engine for Laravel + Pest — boots the app once per process and...
Pest plugin for WordPress testing with SQLite support and zero-config setup
Laravel integration for phpunit-tia: links tests to the views they render and th...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.1.6 | ^8.1 | ^10.0| | MIT | |
| 0.1.5 | ^8.1 | ^10.0| | MIT | |
| 0.1.4 | ^8.1 | MIT | ||
| 0.1.3 | ^8.1 | MIT | ||
| 0.1.2 | ^8.1 | MIT | ||
| 0.1.1 | ^8.1 | MIT | ||
| 0.1.0 | ^8.1 | MIT |
