PHPackages                             vonbraunlabs/dbunit - 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. vonbraunlabs/dbunit

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

vonbraunlabs/dbunit
===================

PHPUnit extension for database interaction testing

4.0.1(5y ago)04BSD-3-ClausePHPPHP ^7.1|8.0

Since Sep 19Pushed 5y agoCompare

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

READMEChangelogDependencies (2)Versions (23)Used By (0)

[This extension is no longer maintained](https://github.com/sebastianbergmann/dbunit/issues/217)

DbUnit
======

[](#dbunit)

[PHPUnit](https://phpunit.de/) extension for database interaction testing.

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

[](#installation)

### Composer

[](#composer)

If you use [Composer](https://getcomposer.org/) to manage the dependencies of your project then you can add DbUnit as a development-time dependency to your project:

```
$ composer require --dev phpunit/dbunit

```

### PHP Archive (PHAR)

[](#php-archive-phar)

You can download a PHAR of DbUnit:

```
$ wget https://phar.phpunit.de/dbunit.phar

```

The example below shows how to configure PHPUnit to load all `*.phar` files found in a given directory (`tools/phpunit.d` in this example):

```

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 68.8% 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 ~143 days

Recently: every ~286 days

Total

22

Last Release

1979d ago

Major Versions

1.4.x-dev → 2.0.02015-10-02

2.0.x-dev → 3.0.02017-02-03

3.0.3 → 4.0.02018-02-07

PHP version history (7 changes)1.2.0PHP &gt;=5.3.3

2.0.0PHP &gt;=5.6

2.0.2PHP &gt;=5.4

2.0.3PHP ^5.4 || ^7.0

3.0.0PHP ^7.0

4.0.0PHP ^7.1

4.0.1PHP ^7.1|8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/05ab8aebb8755f73e27f31b70bc7b64536abec420fdcf30f3f7c6bc3c45ee639?d=identicon)[dmelo](/maintainers/dmelo)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (370 commits)")[![elazar](https://avatars.githubusercontent.com/u/15487?v=4)](https://github.com/elazar "elazar (60 commits)")[![mlively](https://avatars.githubusercontent.com/u/176150?v=4)](https://github.com/mlively "mlively (44 commits)")[![jeunito](https://avatars.githubusercontent.com/u/1216127?v=4)](https://github.com/jeunito "jeunito (10 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (9 commits)")[![christeredvartsen](https://avatars.githubusercontent.com/u/25402?v=4)](https://github.com/christeredvartsen "christeredvartsen (6 commits)")[![dmelo](https://avatars.githubusercontent.com/u/89710?v=4)](https://github.com/dmelo "dmelo (5 commits)")[![paulyg](https://avatars.githubusercontent.com/u/116860?v=4)](https://github.com/paulyg "paulyg (4 commits)")[![zerkms](https://avatars.githubusercontent.com/u/302295?v=4)](https://github.com/zerkms "zerkms (3 commits)")[![naderman](https://avatars.githubusercontent.com/u/154844?v=4)](https://github.com/naderman "naderman (3 commits)")[![exptom](https://avatars.githubusercontent.com/u/4302032?v=4)](https://github.com/exptom "exptom (3 commits)")[![Sicaine](https://avatars.githubusercontent.com/u/717768?v=4)](https://github.com/Sicaine "Sicaine (2 commits)")[![whatthejeff](https://avatars.githubusercontent.com/u/306525?v=4)](https://github.com/whatthejeff "whatthejeff (2 commits)")[![marcocova](https://avatars.githubusercontent.com/u/1546674?v=4)](https://github.com/marcocova "marcocova (1 commits)")[![michsindelar](https://avatars.githubusercontent.com/u/22495823?v=4)](https://github.com/michsindelar "michsindelar (1 commits)")[![gsouf](https://avatars.githubusercontent.com/u/3215399?v=4)](https://github.com/gsouf "gsouf (1 commits)")[![yparghi](https://avatars.githubusercontent.com/u/5464454?v=4)](https://github.com/yparghi "yparghi (1 commits)")[![neilime](https://avatars.githubusercontent.com/u/314088?v=4)](https://github.com/neilime "neilime (1 commits)")[![elblinkin](https://avatars.githubusercontent.com/u/431221?v=4)](https://github.com/elblinkin "elblinkin (1 commits)")[![piotrbudny](https://avatars.githubusercontent.com/u/17520549?v=4)](https://github.com/piotrbudny "piotrbudny (1 commits)")

---

Tags

testingdatabasexunit

### Embed Badge

![Health badge](/badges/vonbraunlabs-dbunit/health.svg)

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

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[phpunit/phpunit-selenium

Selenium Server integration for PHPUnit

59610.9M150](/packages/phpunit-phpunit-selenium)[kornrunner/dbunit

PHPUnit extension for database interaction testing

141.3M2](/packages/kornrunner-dbunit)[misantron/dbunit

DbUnit fork supporting PHPUnit 10/11/12

121.2M6](/packages/misantron-dbunit)

PHPackages © 2026

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