PHPackages                             mnib-dev/mysqldump - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mnib-dev/mysqldump

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mnib-dev/mysqldump
==================

A PHP wrapper around mysqldump CLI utility.

v0.1.2(3w ago)04MITPHPPHP ^7.3 || ^8.0.2

Since Feb 2Pushed 3w ago1 watchersCompare

[ Source](https://github.com/mynameisbogdan/mysqldump-php)[ Packagist](https://packagist.org/packages/mnib-dev/mysqldump)[ RSS](/packages/mnib-dev-mysqldump/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (6)Versions (5)Used By (0)

Usage
=====

[](#usage)

```
chdir(__DIR__);
$dump = new \MNIB\MysqlDump($dbname, $host, $port, $user, $password);

// Create dump
$dump->run([
    'mysqldump_bin' => '/usr/bin/mysqldump',
    'file' => __DIR__ . '/dump.sql',
    'archive' => __DIR__ . '/dump.sql.bz2',
    'archive_pattern' => '/usr/bin/pbzip2 --compress --best -c %1$s > %2$s',
    'defaults_extra_file' => __DIR__ . '/custom-my-file.cnf',
    'max_allowed_packet' => '512M',
    'dump_type' => null, // Valid options: null, "schema" or "data"
    'selected_tables' => [
        'product',
    ],
    'ignored_tables' => [
        'orders',
    ],
]);
```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance94

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Total

3

Last Release

27d ago

PHP version history (2 changes)v0.1.0PHP ^7.2.5 || ^8.0.2

v0.1.2PHP ^7.3 || ^8.0.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/53a262c7778cc8b24b10f0b03177d5053b9fc48c9a1fbcd9068b343ce1d209db?d=identicon)[mynameisbogdan](/maintainers/mynameisbogdan)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mnib-dev-mysqldump/health.svg)

```
[![Health](https://phpackages.com/badges/mnib-dev-mysqldump/health.svg)](https://phpackages.com/packages/mnib-dev-mysqldump)
```

###  Alternatives

[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k257.0M27.9k](/packages/friendsofphp-php-cs-fixer)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M777](/packages/sylius-sylius)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k17.0M1.1k](/packages/phpro-grumphp)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.9M535](/packages/pimcore-pimcore)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M672](/packages/shopware-core)

PHPackages © 2026

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