PHPackages                             driebit/booster - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. driebit/booster

ActiveLibrary[Testing &amp; Quality](/categories/testing)

driebit/booster
===============

Make your tests run faster

0.1.2(11y ago)22.5kMITPHPPHP &gt;=5.4.0

Since Feb 1Pushed 11y ago20 watchersCompare

[ Source](https://github.com/driebit/booster)[ Packagist](https://packagist.org/packages/driebit/booster)[ RSS](/packages/driebit-booster/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Booster
=======

[](#booster)

[![Build Status](https://camo.githubusercontent.com/2fe8afc92ac75a3d73523715de0d641f2153d0400175931503048b63d023d120/68747470733a2f2f7472617669732d63692e6f72672f647269656269742f626f6f737465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/driebit/booster)

Introduction
------------

[](#introduction)

Booster is a set of tools that will make your PHP and/or Symfony tests run faster and use less memory.

Installation
------------

[](#installation)

The recommended way to install this library is through [Composer](http://getcomposer.org):

```
$ composer require driebit/booster
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Usage
-----

[](#usage)

### Null properties on tear down

[](#null-properties-on-tear-down)

Nulling class properties on test tear down helps reduce memory footprint and test runtime. For instance when using PHPUnit:

```
use Driebit\Booster\Cleaner;

class MyTest extends \PHPUnit_Framework_TestCase
{
    // tests here...

    protected function tearDown()
    {
        // tear down actions here...

        $cleaner = new Cleaner();
        $cleaner->nullProperties($this);
    }
}
```

Or using the trait:

```
use Driebit\Booster\Phpunit\NullOnTearDownTrait;

class MyTest extends \PHPUnit_Framework_TestCase
{
    use NullOnTearDownTrait;
}
```

### Disable debug mode after first kernel initialization

[](#disable-debug-mode-after-first-kernel-initialization)

When running functional Symfony tests, you will probably be creating the service container many times. If debug mode is enabled, Symfony will check whether any resources have changed during each container initialization. By disabling debug mode, you wil be using a cached container in your tests.

Use the trait from your AppKernel:

```
use Driebit\Booster\Symfony\NoDebugTrait;

class AppKernel extends Kernel
{
    use NoDebugTrait;

    // ...
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

4123d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/54c045456672a15a85dd65e79418d0f3375322df38ac4dedb5d66487d86ab592?d=identicon)[ddeboer](/maintainers/ddeboer)

---

Top Contributors

[![ddeboer](https://avatars.githubusercontent.com/u/89267?v=4)](https://github.com/ddeboer "ddeboer (12 commits)")

---

Tags

phpunitsymfonytest

### Embed Badge

![Health badge](/badges/driebit-booster/health.svg)

```
[![Health](https://phpackages.com/badges/driebit-booster/health.svg)](https://phpackages.com/packages/driebit-booster)
```

###  Alternatives

[ramunasd/symfony-container-mocks

Provides extended Symfony dependency injection container enabling service mocking.

2295.8k2](/packages/ramunasd-symfony-container-mocks)[albertcht/lumen-testing

Testing Suite For Lumen like Laravel does.

4335.5k1](/packages/albertcht-lumen-testing)[lastzero/test-tools

Increases testing productivity by adding a service container and self-initializing fakes to PHPUnit

2244.3k13](/packages/lastzero-test-tools)[friendsofcake/cakephp-test-utilities

Package with support traits to ease unit testing.

1172.2k17](/packages/friendsofcake-cakephp-test-utilities)[df/php-coverfish

lightweight static code analysis tool for class coverage check of PHPUnit's CodeCoverage

234.9k1](/packages/df-php-coverfish)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
