2017 © Pedro PelĂĄez
 

library doctrine-migrations-liquibase

Generate Liquibase ChangeLog from Doctrine Entities

image

toilal/doctrine-migrations-liquibase

Generate Liquibase ChangeLog from Doctrine Entities

  • Thursday, March 15, 2018
  • by Toilal
  • Repository
  • 2 Watchers
  • 1 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 33 % Grown

The README.md

doctrine-migrations-liquibase

Generate Liquibase ChangeLog from Doctrine Entities., (*1)

Build Status PHP Version Downloads License, (*2)

API Usage

/** @var Doctrine\ORM\EntityManager $em */
$em = ...; // Retrieve Doctrine EntityManager as usual in your environment.

// Create a Liquibase SchemaTool with EntityManager
$schemaTool = new LiquibaseSchemaTool($this->em);

// Create a changelog that can be used on an empty database to build from scratch.
/** @var \DOMDocument $changeLog */
$changeLog = $schemaTool->changeLog()->getResult();
echo $changeLog->saveXML();

// Or create a diff changelog that can be used on current database to upgrade it.
/** @var \DOMDocument $diffChangeLog */
$diffChangeLog = $schemaTool->diffChangeLog()->getResult();
echo $diffChangeLog->saveXML();

Command Line Usage

To be done ..., (*3)

Symfony Command

To be done ..., (*4)

The Versions

15/03 2018

dev-develop

dev-develop

Generate Liquibase ChangeLog from Doctrine Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rémi Alvergnat

15/03 2018

1.1.5

1.1.5.0

Generate Liquibase ChangeLog from Doctrine Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rémi Alvergnat

09/02 2018

dev-master

9999999-dev

Generate Liquibase ChangeLog from Doctrine Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rémi Alvergnat

09/02 2018

1.1.4

1.1.4.0

Generate Liquibase ChangeLog from Doctrine Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rémi Alvergnat

09/02 2018

1.1.3

1.1.3.0

Generate Liquibase ChangeLog from Doctrine Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rémi Alvergnat

09/02 2018

1.1.2

1.1.2.0

Generate Liquibase ChangeLog from Doctrine Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rémi Alvergnat

05/02 2018

1.1.1

1.1.1.0

Generate Liquibase ChangeLog from Doctrine Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rémi Alvergnat

03/02 2018

1.1.0

1.1.0.0

Generate Liquibase ChangeLog from Doctrine Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rémi Alvergnat

02/02 2018

1.0.0

1.0.0.0

Generate Liquibase ChangeLog from Doctrine Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rémi Alvergnat

02/02 2018

0.0.1

0.0.1.0

Doctrine Migrations for Liquibase output

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rémi Alvergnat