graviton/mongodb-migrations-bundle

Symfony MongoDBMigrationsBundle

v2.0.2 2024-01-18 07:39 UTC

This package is auto-updated.

Last update: 2024-04-18 08:15:18 UTC


README

This bundle integrates the DoesntMattr MongoDB Migrations library. into Symfony so that you can safely and quickly manage MongoDB migrations.

This is a new iteration which has the minimal integration into Symfony. At the moment it is not thought for external use.

Installation

Add the following to your composer.json file:

{
    "require": {
        "graviton/mongodb-migrations-bundle": "~1.0"
    }
}

Install the libraries by running:

composer install

Be sure to enable the bundle in AppKernel.php by including the following:

// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        //...
        new Graviton\MigrationBundle\GravitonMigrationBundle(),
    );
}