Download the PHP package gheb/data-migrations-bundle without Composer
On this page you can find all versions of the php package gheb/data-migrations-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gheb/data-migrations-bundle
More information about gheb/data-migrations-bundle
Files in gheb/data-migrations-bundle
Package data-migrations-bundle
Short Description Migrate your data along side your data structure.
License MIT
Informations about the package data-migrations-bundle
:exclamation: :exclamation:
This Bundle has been useful, but is not necessary anymore since Doctrine Migrations Bundle 2.2. Prefer using multiple directories from doctrine migrations bundle :)
https://symfony.com/doc/2.2/bundles/DoctrineMigrationsBundle/index.html#configuration
I won't maintain this bundle anymore :) Thank you all !
DataMigrationsBundle
This bundle is the missing piece of the Doctrine2 Migrations bundle into Symfony applications. Data migrations help you version the changes in your data, and apply them in a predictable way on every server running the application.
Installation
The library can be found at vendor/gheb/DataMigrationsBundle
.
Finally, be sure to enable the bundle in AppKernel.php
by including the following:
Configuration
You can configure the path, namespace, table_name, name, organize_migrations and custom_template in your config.yml
. The examples below are the default values.
Usage
Caution
If your application is based on Symfony 3, replace `php app/console` by `php bin/console` before executing any of the console commands included
in this article.
All of the migrations functionality is contained in a few console commands:
Documentation
This bundle is based on the doctrine migrations bundle. If you need more information, please refer to the original bundle documentation.
Running tests & cs checks
$ ./vendor/bin/phpunit --bootstrap vendor/autoload.php --testdox tests
$ ./vendor/bin/php-cs-fixer fix --config .php_cs.dist --verbose --dry-run src
All versions of data-migrations-bundle with dependencies
symfony/console Version ^4.2
symfony/config Version ^4.2
symfony/http-kernel Version ^4.2
symfony/dependency-injection Version ^4.2.7
doctrine/common Version ^2.8
doctrine/orm Version ^2.6
doctrine/migrations Version ^2.2
doctrine/dbal Version ^2.6
doctrine/doctrine-bundle Version ^1.10