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.
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(),
);
}