{"id":13617222,"url":"https://github.com/theodo/phpunit-extra","last_synced_at":"2025-09-17T15:49:10.872Z","repository":{"id":57068370,"uuid":"170672594","full_name":"theodo/phpunit-extra","owner":"theodo","description":"Improve the performance of your PHPUnit test suite","archived":false,"fork":false,"pushed_at":"2019-12-18T16:14:08.000Z","size":4,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-02-26T20:22:11.825Z","etag":null,"topics":["phpunit","phpunit-extension","phpunit-tests"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theodo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-14T10:24:27.000Z","updated_at":"2019-12-20T08:58:08.000Z","dependencies_parsed_at":"2022-08-24T14:54:10.795Z","dependency_job_id":null,"html_url":"https://github.com/theodo/phpunit-extra","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theodo%2Fphpunit-extra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theodo%2Fphpunit-extra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theodo%2Fphpunit-extra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theodo%2Fphpunit-extra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theodo","download_url":"https://codeload.github.com/theodo/phpunit-extra/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243441427,"owners_count":20291471,"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":["phpunit","phpunit-extension","phpunit-tests"],"created_at":"2024-08-01T20:01:38.547Z","updated_at":"2025-09-17T15:49:05.821Z","avatar_url":"https://github.com/theodo.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# PHPUnit Extra\n\nPHPUnit Extra provides a PHPUnit listener to improve performance of your\nPHPUnit test suites by cleaning up classes variables at the end of each\nTestCase. Thanks [Kris Wallsmith for this tip](http://kriswallsmith.net/post/18029585104/faster-phpunit).\n\n## Installation\n\n### Step 1: Install the library\n\nOpen a command console, enter your project directory and execute the\nfollowing command to download the latest stable version of this bundle:\n\n```console\n$ composer require --dev theodo/phpunit-extra\n```\n\nThis command requires you to have Composer installed globally, as explained\nin the [installation chapter](https://getcomposer.org/doc/00-intro.md)\nof the Composer documentation.\n\n### Step 2: Configure the listener in PHPUnit\n\nFor PHPUnit \u003e= 7.5, add the extension in your XML config file (e.g. `phpunit.xml.dist`).\n\n```xml\n\u003cextensions\u003e\n    \u003cextension class=\"\\Theodo\\PHPUnitExtra\\PHPUnit\\PHPUnitExtension\" /\u003e\n\u003c/extensions\u003e\n```\n\nFor PHPUnit \u003c 7.5 add the listener in your XML config file (e.g. `phpunit.xml.dist`).\n\n```xml\n\u003clisteners\u003e\n    \u003clistener class=\"\\Theodo\\PHPUnitExtra\\PHPUnit\\PHPUnitListener\" /\u003e\n\u003c/listeners\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheodo%2Fphpunit-extra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheodo%2Fphpunit-extra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheodo%2Fphpunit-extra/lists"}