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

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

abmundi/database-commands-bundle
================================

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

75012[1 issues](https://github.com/ABMundi/DatabaseCommands/issues)PHP

Since Jun 3Pushed 14y ago3 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Abmundi Database Commands Bundle
================================

[](#abmundi-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": {
    ...
    "abmundi/database-commands-bundle": "dev-master",
    ...
},

```

Run a Composer update

```
$ php composer.phar update

```

#### Using vendor deps

[](#using-vendor-deps)

Add the following code to your deps file:

```
[ABMundiDatabaseCommandsBundle]
    git=git://github.com/ABMundi/DatabaseCommands.git
    target=bundles/Abmundi/DatabaseCommandsBundle

```

And then run the vendors install command:

```
$ ./bin/vendors install

```

Then register the autoloader in the `autoload.php` file:

```
$loader->registerNamespaces(array(
    ...
    'Abmundi'                       => __DIR__.'/../vendor/bundles',
    ...
));

```

### Step 2

[](#step-2)

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

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

    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

24

—

LowBetter than 31% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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/565e32fa5e9747aa3f7b1cc854fa40210623ca76c44c4669ddc2e66e5f234c1f?d=identicon)[fabio.fabbrucci](/maintainers/fabio.fabbrucci)

---

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)")

### Embed Badge

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

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

###  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)

PHPackages © 2026

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