{"id":13821728,"url":"https://github.com/benholmen/defrag","last_synced_at":"2025-05-07T15:06:28.835Z","repository":{"id":195282321,"uuid":"692616979","full_name":"benholmen/defrag","owner":"benholmen","description":"Disk defrag output for PHPUnit tests","archived":false,"fork":false,"pushed_at":"2024-07-08T05:41:32.000Z","size":1567,"stargazers_count":89,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T15:06:17.487Z","etag":null,"topics":["defrag","phpunit","testing"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benholmen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"benholmen"}},"created_at":"2023-09-17T03:26:07.000Z","updated_at":"2025-01-14T09:15:05.000Z","dependencies_parsed_at":"2024-02-21T05:24:32.303Z","dependency_job_id":"fdab02dd-fc52-4af0-b123-1b7cc685bf5c","html_url":"https://github.com/benholmen/defrag","commit_stats":{"total_commits":40,"total_committers":4,"mean_commits":10.0,"dds":"0.22499999999999998","last_synced_commit":"8c4d171754f2babfed0406de86c7d5a253d60c99"},"previous_names":["benholmen/defrag"],"tags_count":7,"template":false,"template_full_name":"spatie/package-skeleton-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benholmen%2Fdefrag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benholmen%2Fdefrag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benholmen%2Fdefrag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benholmen%2Fdefrag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benholmen","download_url":"https://codeload.github.com/benholmen/defrag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252902614,"owners_count":21822261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["defrag","phpunit","testing"],"created_at":"2024-08-04T08:01:26.836Z","updated_at":"2025-05-07T15:06:28.798Z","avatar_url":"https://github.com/benholmen.png","language":"PHP","readme":"# Defragment your PHPUnit tests\nThis package generates a satisfying Defrag-style output when running your [PHPUnit test suite](https://phpunit.de).\n\n![Sample output](output.gif)\n\n## Inspired by\nMS-DOS 6.x included a [defrag utility](https://en.wikipedia.org/wiki/List_of_DOS_commands#DEFRAG) 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.\n\n#### Defrag Running in MS-DOS 6.22\n[![Defrag Running in MS-DOS 6.22](https://img.youtube.com/vi/Nidwz3BzFCM/0.jpg)](https://www.youtube.com/watch?v=Nidwz3BzFCM \"Defrag Running in MS-DOS 6.22\")\n\n## Installation\n\nInstall the package via composer:\n\n```bash\ncomposer require benholmen/defrag --dev\n```\n\nAdd the following lines to your `phpunit.xml` file:\n```xml\n\u003cextensions\u003e\n    \u003cbootstrap class=\"BenHolmen\\Defrag\\Extension\"/\u003e\n\u003c/extensions\u003e\n```\n\n## Usage\nRun PHPUnit as usual:\n\n```bash\nvendor/bin/phpunit\n```\n\n## Testing\nOf course, this produces the defrag output you'd expect.\n```bash\ncomposer test\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.\n\n## Credits\n\n- [Ben Holmen](https://github.com/benholmen)\n- [Jess Archer](https://github.com/jessarcher) key intel, assistance, and the fantastic [laravel/prompts](https://github.com/laravel/prompts) package\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","funding_links":["https://github.com/sponsors/benholmen"],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenholmen%2Fdefrag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenholmen%2Fdefrag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenholmen%2Fdefrag/lists"}