PHPackages                             lucasbustamante/db-dumper-for-codeception - 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. lucasbustamante/db-dumper-for-codeception

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

lucasbustamante/db-dumper-for-codeception
=========================================

Easily generates database dumps to be used in Codeception.

v0.1.4(6y ago)028[2 PRs](https://github.com/Luc45/database-dumper-for-codeception/pulls)MITPHP

Since Jul 1Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Luc45/database-dumper-for-codeception)[ Packagist](https://packagist.org/packages/lucasbustamante/db-dumper-for-codeception)[ RSS](/packages/lucasbustamante-db-dumper-for-codeception/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (3)Versions (7)Used By (0)

Install
=======

[](#install)

`composer require --dev lucasbustamante/db-dumper-for-codeception`

Add the command to your `codeception.yml`:

```
extensions:
    commands:
        - DumpGenerator\GenerateDump

```

On a suite that uses a `Codeception\Modules\Db` module (or any module that extends `Db`), add these parameters:

```
modules:
    config:
        Db:
            dump_dsn: 'mysql:host=%DUMP_DB_HOST%;dbname=%DUMP_DB_NAME%'
            dump_user: '%DUMP_DB_USER%'
            dump_password: '%DUMP_DB_PASSWORD%'

```

Replace `%DUMP_DB_HOST%` and similars with your actual values. This should be your local development database, from which the dumps will be generated from.

Usage
=====

[](#usage)

Run `./vendor/bin/codecept dump `

In the first run, a Dump config file will be generated at `tests/data/.sql.php` where you can fine-tune how your dump will be generated. On the subsequent runs, it will generate the dump based on the config. If you don't override any config, it will just do a full dump of the database.

This library is basically a Codeception wrapper around .

You can check their documentation to get more information on how exactly you can fine-tune your dump.

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

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

4

Last Release

2238d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/83326082?v=4)[Lucas Bustamante](/maintainers/lucasbustamante)[@lucasbustamante](https://github.com/lucasbustamante)

---

Top Contributors

[![Luc45](https://avatars.githubusercontent.com/u/9341686?v=4)](https://github.com/Luc45 "Luc45 (23 commits)")

### Embed Badge

![Health badge](/badges/lucasbustamante-db-dumper-for-codeception/health.svg)

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

###  Alternatives

[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k464.3M10.6k](/packages/symfony-dependency-injection)[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k382.4M3.7k](/packages/symfony-cache)[doctrine/orm

Object-Relational-Mapper for PHP

10.2k305.9M8.1k](/packages/doctrine-orm)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

12017.1k](/packages/rcsofttech-audit-trail-bundle)[statamic/cms

The Statamic CMS Core Package

4.9k3.8M1.2k](/packages/statamic-cms)[doctrine/mongodb-odm

PHP Doctrine MongoDB Object Document Mapper (ODM) provides transparent persistence for PHP objects to MongoDB.

1.1k24.8M383](/packages/doctrine-mongodb-odm)

PHPackages © 2026

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