PHPackages                             imi/database-helper - 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. imi/database-helper

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

imi/database-helper
===================

0.4.0(6y ago)0198[2 issues](https://github.com/iMi-digital/database-helper/issues)4PHP

Since Feb 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/iMi-digital/database-helper)[ Packagist](https://packagist.org/packages/imi/database-helper)[ RSS](/packages/imi-database-helper/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (7)Used By (4)

database-helper
===============

[](#database-helper)

Database Helper Functions

Mostely extracted aus n98-magerun(2) to be used in other projects. Independent of symfony packages.

Features
--------

[](#features)

- Strip database (export only the structure, not the data), originally baseds on \[SelfScripts\] ()
- Human Readable exports and optimize on import (originally by @amenk)
- Compressing / uncompressing dumps (by the n98 team)
- Pipe through pipe viewer for nice progress bars
- Remove definer statements from dumps

Testing
-------

[](#testing)

Before running tests, set the following environment variables:

- `PHPUNIT_DB_HOSTNAME` - defaults to localhost
- `PHPUNIT_DB_USERNAME`
- `PHPUNIT_DB_PASSWORD`
- `PHPUNIT_DB_NAME` - optional - will be auto generated im omitted

Similar Packages
----------------

[](#similar-packages)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

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

Total

5

Last Release

2198d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e83b21f6b852a0a527372174187cc61c74cbbfbdb34df74816ef77736224fff?d=identicon)[imi](/maintainers/imi)

---

Top Contributors

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

---

Tags

hacktoberfest

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/imi-database-helper/health.svg)

```
[![Health](https://phpackages.com/badges/imi-database-helper/health.svg)](https://phpackages.com/packages/imi-database-helper)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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