PHPackages                             codeception/module-db - 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. [Database &amp; ORM](/categories/database)
4. /
5. codeception/module-db

ActiveLibrary[Database &amp; ORM](/categories/database)

codeception/module-db
=====================

DB module for Codeception

3.2.2(1y ago)2320.9M—1.3%31[14 issues](https://github.com/Codeception/module-db/issues)[8 PRs](https://github.com/Codeception/module-db/pulls)20MITPHPPHP ^8.0CI passing

Since Oct 19Pushed 1y ago7 watchersCompare

[ Source](https://github.com/Codeception/module-db)[ Packagist](https://packagist.org/packages/codeception/module-db)[ Docs](https://codeception.com/)[ RSS](/packages/codeception-module-db/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (24)Used By (20)

Codeception Module DB
=====================

[](#codeception-module-db)

A database module for Codeception.

[![Actions Status](https://github.com/Codeception/module-db/workflows/CI/badge.svg)](https://github.com/Codeception/module-db/actions)[![Latest Stable Version](https://camo.githubusercontent.com/8634b7c411c3382eb7136c503d66c389b54757019ed68fe72b410cbeea791522/68747470733a2f2f706f7365722e707567782e6f72672f636f646563657074696f6e2f6d6f64756c652d64622f762f737461626c65)](https://github.com/Codeception/module-db/releases)[![Total Downloads](https://camo.githubusercontent.com/259e55ed7327ad278b95135a017d30e1d1c6ea8f5b37d43eb127b57d71d0056a/68747470733a2f2f706f7365722e707567782e6f72672f636f646563657074696f6e2f6d6f64756c652d64622f646f776e6c6f616473)](https://packagist.org/packages/codeception/module-db)[![License](https://camo.githubusercontent.com/e06b29dd1d425e0d123a99e331c2217c372c7b11ec24090736635c69e2e1260a/68747470733a2f2f706f7365722e707567782e6f72672f636f646563657074696f6e2f6d6f64756c652d64622f6c6963656e7365)](/LICENSE)

Requirements
------------

[](#requirements)

- `PHP 8.0` or higher.

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

[](#installation)

```
composer require "codeception/module-db" --dev

```

Documentation
-------------

[](#documentation)

See [the module documentation](https://codeception.com/docs/modules/Db).

[Changelog](https://github.com/Codeception/module-db/releases)

License
-------

[](#license)

`Codeception Module DB` is open-sourced software licensed under the [MIT](/LICENSE) License.

© Codeception PHP Testing Framework

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity60

Solid adoption and visibility

Community47

Growing community involvement

Maturity72

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~93 days

Total

22

Last Release

442d ago

Major Versions

1.1.1 → 3.0.02022-02-20

2.0.1 → 3.0.12022-03-05

1.x-dev → 2.1.02022-12-03

2.1.0 → 3.1.02022-12-03

2.x-dev → 3.1.42024-05-16

PHP version history (4 changes)1.0.0PHP &gt;=5.6.0 &lt;8.0

1.0.2PHP &gt;=5.6.0 &lt;9.0

2.0.0PHP ^7.4 | ^8.0

1.1.1PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/395992?v=4)[Gintautas Miselis](/maintainers/Naktibalda)[@Naktibalda](https://github.com/Naktibalda)

---

Top Contributors

[![DavertMik](https://avatars.githubusercontent.com/u/220264?v=4)](https://github.com/DavertMik "DavertMik (110 commits)")[![Naktibalda](https://avatars.githubusercontent.com/u/395992?v=4)](https://github.com/Naktibalda "Naktibalda (85 commits)")[![tiger-seo](https://avatars.githubusercontent.com/u/398720?v=4)](https://github.com/tiger-seo "tiger-seo (7 commits)")[![sergeyklay](https://avatars.githubusercontent.com/u/1256298?v=4)](https://github.com/sergeyklay "sergeyklay (7 commits)")[![W0rma](https://avatars.githubusercontent.com/u/20659830?v=4)](https://github.com/W0rma "W0rma (7 commits)")[![szhajdu](https://avatars.githubusercontent.com/u/4129631?v=4)](https://github.com/szhajdu "szhajdu (6 commits)")[![ashnazg](https://avatars.githubusercontent.com/u/100170?v=4)](https://github.com/ashnazg "ashnazg (6 commits)")[![TavoNiievez](https://avatars.githubusercontent.com/u/64917965?v=4)](https://github.com/TavoNiievez "TavoNiievez (5 commits)")[![yesdevnull](https://avatars.githubusercontent.com/u/468779?v=4)](https://github.com/yesdevnull "yesdevnull (4 commits)")[![satahippy](https://avatars.githubusercontent.com/u/5000502?v=4)](https://github.com/satahippy "satahippy (4 commits)")[![JesusTheHun](https://avatars.githubusercontent.com/u/94478?v=4)](https://github.com/JesusTheHun "JesusTheHun (4 commits)")[![eXorus](https://avatars.githubusercontent.com/u/1255561?v=4)](https://github.com/eXorus "eXorus (3 commits)")[![ThomasLandauer](https://avatars.githubusercontent.com/u/1054469?v=4)](https://github.com/ThomasLandauer "ThomasLandauer (3 commits)")[![sustmi](https://avatars.githubusercontent.com/u/885946?v=4)](https://github.com/sustmi "sustmi (3 commits)")[![rtuin](https://avatars.githubusercontent.com/u/360150?v=4)](https://github.com/rtuin "rtuin (3 commits)")[![airdrummingfool](https://avatars.githubusercontent.com/u/631249?v=4)](https://github.com/airdrummingfool "airdrummingfool (2 commits)")[![Arhell](https://avatars.githubusercontent.com/u/26163841?v=4)](https://github.com/Arhell "Arhell (2 commits)")[![gammamatrix](https://avatars.githubusercontent.com/u/524724?v=4)](https://github.com/gammamatrix "gammamatrix (2 commits)")[![mohangk](https://avatars.githubusercontent.com/u/37199?v=4)](https://github.com/mohangk "mohangk (2 commits)")[![Sikolasol](https://avatars.githubusercontent.com/u/7655654?v=4)](https://github.com/Sikolasol "Sikolasol (2 commits)")

---

Tags

codeceptiondatabase-testingdb-testing

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/codeception-module-db/health.svg)

```
[![Health](https://phpackages.com/badges/codeception-module-db/health.svg)](https://phpackages.com/packages/codeception-module-db)
```

###  Alternatives

[lucatume/wp-browser

A set of Codeception modules to test WordPress projects.

6343.8M153](/packages/lucatume-wp-browser)[codeception/module-asserts

Codeception module containing various assertions

8550.6M1.2k](/packages/codeception-module-asserts)[codeception/lib-innerbrowser

Parent library for all Codeception framework modules and PhpBrowser

8641.7M77](/packages/codeception-lib-innerbrowser)[codeception/module-phpbrowser

Codeception module for testing web application over HTTP

6529.8M508](/packages/codeception-module-phpbrowser)[codeception/module-rest

REST module for Codeception

5927.8M213](/packages/codeception-module-rest)[codeception/module-symfony

Codeception module for Symfony framework

949.4M95](/packages/codeception-module-symfony)

PHPackages © 2026

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