fabiang/doctrine-migrations-liquibase-zf

This package is abandoned and no longer maintained. The author suggests using the fabiang/doctrine-migrations-liquibase-laminas package instead.

Zend Framework module for creating changesets for Liquibase with Doctrine

v0.2.0 2020-06-19 11:15 UTC

This package is auto-updated.

Last update: 2021-09-20 15:08:51 UTC


README

UNMAINTAINED. See fabiang/doctrine-migrations-liquibase-laminas for a Laminas module.

Zend Framework module for creating changesets for Liquibase with Doctrine.

Latest Stable Version License

Installation

New to Composer? Read the introduction. Run the following Composer command:

$ composer require --dev fabiang/doctrine-migrations-liquibase-zf=@dev

Configuration

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.

Usage

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.

Licence

BSD-2-Clause. See the LICENSE.md.