Joseki/Migration requires PHP 5.4 or higher.
The best way to install Joseki/Migration is using Composer:
$ composer require joseki/migrationRegister compiler extension in your config.neon:
extensions:
Migration: Joseki\Migration\DI\MigrationExtensionAdd the following to your config.neon:
extensions:
Migration: Joseki\Migration\DI\MigrationExtensionMigration:
migrationDir: # specifies location of migrationsmigrationPrefix: Migration # migration filename prefixmigrationTable: _migration_log # database table for migration synclogFile: # OPTIONALoptions: # OPTIONALcollate: 'utf8_unicode_ci'# OPTIONAL (DEFAULT VALUE)cascading: true # OPTIONAL (DEFAULT VALUE)Create a new empty migration
app/console joseki:migration:createSync all existing migrations with your database
app/console joseki:migration:migrateCreate a new migration based on existing LeanMapper entities (registered Repositories)
app/console joseki:migration:from-lm