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

ActiveLibrary

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

Easily generates database dumps to be used in Codeception.

v0.1.4(5y ago)126[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 today

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 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

2137d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/22dcf41213b58505959c76ae20650595fbd28c9653c683591c3c6f14d60f1aa5?d=identicon)[lucasbustamante](/maintainers/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.2k431.1M7.4k](/packages/symfony-dependency-injection)[symfony/cache

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

4.2k348.9M2.5k](/packages/symfony-cache)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M192](/packages/simplesamlphp-simplesamlphp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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