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

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

kornrunner/dbunit
=================

PHPUnit extension for database interaction testing

9.3.1(3mo ago)141.4M↓45.3%92BSD-3-ClausePHPPHP ^8.1CI passing

Since Sep 19Pushed 3mo ago3 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (37)Used By (2)

This is a fork which provides support for phpunit 8. [Original 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 kornrunner/dbunit

```

###  Health Score

65

—

FairBetter than 99% of packages

Maintenance81

Actively maintained with recent releases

Popularity49

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 64.5% 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 ~140 days

Recently: every ~157 days

Total

36

Last Release

109d ago

Major Versions

4.1.0 → 5.0.02019-12-19

5.0.1 → 6.0.02020-12-07

6.0.2 → 7.0.02023-02-04

7.0.0 → 8.0.02024-03-28

8.0.1 → 9.0.02024-04-04

PHP version history (9 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

5.0.0PHP ^7.2

6.0.0PHP ^7.3 || ^8.0

9.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/725986?v=4)[Boris Momčilović](/maintainers/kornrunner)[@kornrunner](https://github.com/kornrunner)

---

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)")[![kornrunner](https://avatars.githubusercontent.com/u/725986?v=4)](https://github.com/kornrunner "kornrunner (37 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)")[![paulyg](https://avatars.githubusercontent.com/u/116860?v=4)](https://github.com/paulyg "paulyg (4 commits)")[![exptom](https://avatars.githubusercontent.com/u/4302032?v=4)](https://github.com/exptom "exptom (3 commits)")[![dmelo](https://avatars.githubusercontent.com/u/89710?v=4)](https://github.com/dmelo "dmelo (3 commits)")[![naderman](https://avatars.githubusercontent.com/u/154844?v=4)](https://github.com/naderman "naderman (3 commits)")[![zerkms](https://avatars.githubusercontent.com/u/302295?v=4)](https://github.com/zerkms "zerkms (3 commits)")[![ajgarlag](https://avatars.githubusercontent.com/u/388184?v=4)](https://github.com/ajgarlag "ajgarlag (2 commits)")[![prymas007](https://avatars.githubusercontent.com/u/1726010?v=4)](https://github.com/prymas007 "prymas007 (2 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)")[![howkey666](https://avatars.githubusercontent.com/u/2071434?v=4)](https://github.com/howkey666 "howkey666 (1 commits)")[![gsouf](https://avatars.githubusercontent.com/u/3215399?v=4)](https://github.com/gsouf "gsouf (1 commits)")[![emslade](https://avatars.githubusercontent.com/u/227772?v=4)](https://github.com/emslade "emslade (1 commits)")[![piotrbudny](https://avatars.githubusercontent.com/u/17520549?v=4)](https://github.com/piotrbudny "piotrbudny (1 commits)")

---

Tags

dbunitphpunittestingdatabasexunit

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k41.3M38.3k](/packages/orchestra-testbench)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69519.1M604](/packages/spatie-phpunit-snapshot-assertions)[misantron/dbunit

DbUnit fork supporting PHPUnit 10/11/12

121.2M8](/packages/misantron-dbunit)

PHPackages © 2026

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