UNMAINTAINED. See fabiang/doctrine-migrations-liquibase-laminas for a Laminas module.
Zend Framework module for creating changesets for Liquibase with Doctrine.
New to Composer? Read the introduction. Run the following Composer command:
$ composer require --dev fabiang/doctrine-migrations-liquibase-zf=@dev
Load the module by adding it to config/development.config.php
:
return [
'modules' => [
/** order shouldn't matter here, but it 'DoctrineModule' should be loaded before **/
'Fabiang\DoctrineMigrationsLiquibase',
],
];
If you don't have a recommended development.config.php
you can also add it to application.config.php
.
But you should not activate the module on production systems, as you don't need it there.
You should see two new command for doctrine-module
when you execute the following command in your project:
./vendor/bin/doctrine-module list
- orm:liquibase:createchangelog
- orm:liquibase:creatediff
First creates the whole changelog XML file, second command creates just the diff.
BSD-2-Clause. See the LICENSE.md.