Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiang/doctrine-migrations-liquibase-laminas
Laminas module for creating changesets for Liquibase with Doctrine
https://github.com/fabiang/doctrine-migrations-liquibase-laminas
doctrine doctrine-orm laminas laminas-module liquibase
Last synced: 2 months ago
JSON representation
Laminas module for creating changesets for Liquibase with Doctrine
- Host: GitHub
- URL: https://github.com/fabiang/doctrine-migrations-liquibase-laminas
- Owner: fabiang
- License: bsd-2-clause
- Created: 2021-09-20T12:20:05.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2024-01-24T13:01:13.000Z (11 months ago)
- Last Synced: 2024-04-25T10:21:07.503Z (8 months ago)
- Topics: doctrine, doctrine-orm, laminas, laminas-module, liquibase
- Language: PHP
- Homepage:
- Size: 43.9 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fabiang/doctrine-migrations-liquibase-laminas
Laminas module for creating changesets for Liquibase with Doctrine.
[![Unit Tests](https://github.com/fabiang/doctrine-migrations-liquibase-laminas/actions/workflows/unit.yml/badge.svg)](https://github.com/fabiang/doctrine-migrations-liquibase-laminas/actions/workflows/unit.yml)
[![Latest Stable Version](http://poser.pugx.org/fabiang/doctrine-migrations-liquibase-laminas/v)](https://packagist.org/packages/fabiang/doctrine-migrations-liquibase-laminas) [![Total Downloads](http://poser.pugx.org/fabiang/doctrine-migrations-liquibase-laminas/downloads)](https://packagist.org/packages/fabiang/doctrine-migrations-liquibase-laminas) [![Latest Unstable Version](http://poser.pugx.org/fabiang/doctrine-migrations-liquibase-laminas/v/unstable)](https://packagist.org/packages/fabiang/doctrine-migrations-liquibase-laminas) [![License](http://poser.pugx.org/fabiang/doctrine-migrations-liquibase-laminas/license)](https://packagist.org/packages/fabiang/doctrine-migrations-liquibase-laminas) [![PHP Version Require](http://poser.pugx.org/fabiang/doctrine-migrations-liquibase-laminas/require/php)](https://packagist.org/packages/fabiang/doctrine-migrations-liquibase-laminas)## Installation
New to Composer? Read the [introduction](https://getcomposer.org/doc/00-intro.md#introduction). Run the following Composer command:
```console
$ composer require --dev fabiang/doctrine-migrations-liquibase-laminas
```## Configuration
Load the module by adding it to `config/development.config.php`:
```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:creatediffFirst creates the whole changelog XML file, second command creates just the diff.
## Licence
BSD-2-Clause. See the [LICENSE.md](LICENSE.md).