fabiang / doctrine-migrations-liquibase-zf
Zend Framework module for creating changesets for Liquibase with Doctrine
Installs: 1 774
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.0
- doctrine/doctrine-module: ^1.2 || ^2.0 || ^3.0 || ^4.0
- symfony/console: ^2.3 || ^3.0 || ^4.0 || ^5.0
- toilal/doctrine-migrations-liquibase: ^1.1
- zendframework/zend-modulemanager: ^2.8
- zendframework/zend-servicemanager: ^2.7.8 || ^3.0
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.
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.