PHPackages                             mysqldump-factory/mysqldump-factory - 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. mysqldump-factory/mysqldump-factory

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

mysqldump-factory/mysqldump-factory
===================================

Fully tested, mysqldump factory for PHP 5.2.17, 5.3, 5.4, 5.5

2.2.0(11y ago)71.6k1[1 issues](https://github.com/yani-/mysqldump-factory/issues)MITPHPPHP &gt;=5.2.17

Since Jan 10Pushed 11y ago2 watchersCompare

[ Source](https://github.com/yani-/mysqldump-factory)[ Packagist](https://packagist.org/packages/mysqldump-factory/mysqldump-factory)[ Docs](http://github.com/yani-/mysqldump-factory)[ RSS](/packages/mysqldump-factory-mysqldump-factory/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)DependenciesVersions (25)Used By (0)

MySQL Dump Factory
==================

[](#mysql-dump-factory)

[![Build Status](https://camo.githubusercontent.com/b56b5b4040981d5c20c1eeb9b294201d0e158a6790be0253b2ca12bce1ea228a/68747470733a2f2f7472617669732d63692e6f72672f79616e692d2f6d7973716c64756d702d666163746f72792e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/yani-/mysqldump-factory)[![Latest Stable Version](https://camo.githubusercontent.com/0745387f17102c3cbf00e8ccbb1a91d64742d36ff3ff68bbdaef081ac0c4983d/68747470733a2f2f706f7365722e707567782e6f72672f6d7973716c64756d702d666163746f72792f6d7973716c64756d702d666163746f72792f762f737461626c652e706e67)](https://packagist.org/packages/mysqldump-factory/mysqldump-factory)[![Total Downloads](https://camo.githubusercontent.com/07e6b6be204d6c0aa850813cf672eece0765f1d4ce9e58886b2be4c81f6dc58c/68747470733a2f2f706f7365722e707567782e6f72672f6d7973716c64756d702d666163746f72792f6d7973716c64756d702d666163746f72792f646f776e6c6f6164732e706e67)](https://packagist.org/packages/mysqldump-factory/mysqldump-factory)

MySQL Dump Factory class that creates either mysql or PDO classes

### Requirements

[](#requirements)

PHP v5.2 and up. Tested on PHP v5.2.17, v5.3, v5.4, v5.5

### Usage

[](#usage)

```
require_once 'lib/MysqlDumpFactory.php';
$mc = MysqlDumpFactory::makeMysqlDump('dbhost', 'dbuser', 'dbpass', 'dbname', class_exists('PDO'));
```

### Tests

[](#tests)

Coverage reports are stored inside the coverage folder.

```
phpunit
```

### Contributing

[](#contributing)

For code guidelines refer to `.editorconfig`. This project is following PEAR code standard - The project is following Vincent Driessen's branching model aka git flow - Make sure to submit your pull requests against the **develop** branch

### License

[](#license)

MIT

### Authors

[](#authors)

- Yani Iliev
- Bobby Angelov

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 76.9% 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 ~12 days

Recently: every ~20 days

Total

23

Last Release

4231d ago

Major Versions

1.9.0 → 2.0.02014-08-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/656bc955ff095f76699b2144615fdf0282b990f3033d2275b8a27713eece6fff?d=identicon)[yani-](/maintainers/yani-)

---

Top Contributors

[![borislav-angelov](https://avatars.githubusercontent.com/u/499030?v=4)](https://github.com/borislav-angelov "borislav-angelov (120 commits)")[![yani-](https://avatars.githubusercontent.com/u/1627243?v=4)](https://github.com/yani- "yani- (36 commits)")

---

Tags

mysqldumppdodump

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[spatie/db-dumper

Dump databases

1.2k25.9M69](/packages/spatie-db-dumper)[ifsnop/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k5.5M69](/packages/ifsnop-mysqldump-php)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[clouddueling/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k22.9k](/packages/clouddueling-mysqldump-php)[rah/danpu

Zero-dependency MySQL dump library for easily exporting and importing databases

64401.8k10](/packages/rah-danpu)

PHPackages © 2026

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