{"id":24397419,"url":"https://github.com/driebit/booster","last_synced_at":"2026-05-16T08:03:33.174Z","repository":{"id":26686871,"uuid":"30143687","full_name":"driebit/booster","owner":"driebit","description":"Make tests run faster","archived":false,"fork":false,"pushed_at":"2015-02-02T10:47:13.000Z","size":188,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-01-19T22:31:35.520Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/driebit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-01T11:04:20.000Z","updated_at":"2015-02-02T10:45:27.000Z","dependencies_parsed_at":"2022-08-21T07:10:21.475Z","dependency_job_id":null,"html_url":"https://github.com/driebit/booster","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driebit%2Fbooster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driebit%2Fbooster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driebit%2Fbooster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driebit%2Fbooster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/driebit","download_url":"https://codeload.github.com/driebit/booster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243345563,"owners_count":20275869,"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":[],"created_at":"2025-01-19T22:27:15.236Z","updated_at":"2025-09-19T12:15:58.146Z","avatar_url":"https://github.com/driebit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Booster\n=======\n\n[![Build Status](https://travis-ci.org/driebit/booster.svg?branch=master)](https://travis-ci.org/driebit/booster)\n\nIntroduction\n------------\n\nBooster is a set of tools that will make your PHP and/or Symfony tests run\nfaster and use less memory.\n\nInstallation\n------------\n\nThe recommended way to install this library is through [Composer](http://getcomposer.org):\n\n```bash\n$ composer require driebit/booster\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\nUsage\n-----\n\n### Null properties on tear down\n\nNulling class properties on test tear down helps reduce memory footprint and\ntest runtime. For instance when using PHPUnit:\n\n```php\nuse Driebit\\Booster\\Cleaner;\n\nclass MyTest extends \\PHPUnit_Framework_TestCase\n{\n    // tests here...\n\n    protected function tearDown()\n    {\n        // tear down actions here...\n\n        $cleaner = new Cleaner();\n        $cleaner-\u003enullProperties($this);\n    }\n}\n```\n\nOr using the trait:\n\n```php\nuse Driebit\\Booster\\Phpunit\\NullOnTearDownTrait;\n\nclass MyTest extends \\PHPUnit_Framework_TestCase\n{\n    use NullOnTearDownTrait;\n}\n```\n\n### Disable debug mode after first kernel initialization\n\nWhen running functional Symfony tests, you will probably be creating the service\ncontainer many times. If debug mode is enabled, Symfony will check whether any\nresources have changed during each container initialization. By disabling\ndebug mode, you wil be using a cached container in your tests.\n\nUse the trait from your AppKernel:\n\n```php\nuse Driebit\\Booster\\Symfony\\NoDebugTrait;\n\nclass AppKernel extends Kernel\n{\n    use NoDebugTrait;\n\n    // ...\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriebit%2Fbooster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdriebit%2Fbooster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriebit%2Fbooster/lists"}