PHPackages                             hmillet/database-commands-bundle - 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. hmillet/database-commands-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

hmillet/database-commands-bundle
================================

Provides a series of database commands for your Symfony application, one for the console and 5 capifony tasks.

110PHP

Since Jul 10Pushed 11y ago1 watchersCompare

[ Source](https://github.com/hmillet/DatabaseCommands)[ Packagist](https://packagist.org/packages/hmillet/database-commands-bundle)[ RSS](/packages/hmillet-database-commands-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Hmillet Database Commands Bundle
================================

[](#hmillet-database-commands-bundle)

This bundle provides a way to run a series of cdatabase commands in your Symfony application. It provides one command line for our console, and 5 capifony tasks.

Installation
------------

[](#installation)

### Step 1

[](#step-1)

#### Using Composer

[](#using-composer)

Add the following code to your composer.json:

```
"require": {
    ...
    "hmillet/database-commands-bundle": "dev-master",
    ...
},

```

Run a Composer update

```
$ php composer.phar update

```

### Step 2

[](#step-2)

Register the bundle in the `AppKernel.php` file:

```
public function registerBundles()
{
    $bundles = array(
        ...
        new Hmillet\DatabaseCommandsBundle\HmilletDatabaseCommandsBundle(),
        ...
    );

    return $bundles;
}

```

Requirements
------------

[](#requirements)

This bundle needs (in local and remote server)

- mysql (command line)
- mysqldump (commandline)
- bunzip2 (commandline)

Command line
------------

[](#command-line)

Now from your console you can run

```
./app/console db:dump

```

and see that a new file has been saved in folder /app/tmp/dump with an hard link to the newest one.

Capifony
--------

[](#capifony)

If you have installed capifony () this bundle provides to you 6 nice tasks:

- cap db:init - Set remote folders (run it first time)
- cap db:dump - Create a dump of db in remote folder
- cap db:download - Download last dump file in local folder
- cap db:import:production - Import remote db in local production db
- cap db:import:testing - Import remote db in local testing db

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bfeae60856f4136474d05cf5182b63ef96e44bd05357bfb5cd3e3e7861a615d0?d=identicon)[hmillet](/maintainers/hmillet)

---

Top Contributors

[![fabiofabbrucci](https://avatars.githubusercontent.com/u/103877?v=4)](https://github.com/fabiofabbrucci "fabiofabbrucci (18 commits)")[![tborealis](https://avatars.githubusercontent.com/u/1591228?v=4)](https://github.com/tborealis "tborealis (2 commits)")[![hmillet](https://avatars.githubusercontent.com/u/2003913?v=4)](https://github.com/hmillet "hmillet (1 commits)")

### Embed Badge

![Health badge](/badges/hmillet-database-commands-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/hmillet-database-commands-bundle/health.svg)](https://phpackages.com/packages/hmillet-database-commands-bundle)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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