2017 © Pedro Peláez
 

library pimcore-doctrine-migrations-library

A library to add integration for Doctrine migrations in Pimcore.

image

byng/pimcore-doctrine-migrations-library

A library to add integration for Doctrine migrations in Pimcore.

  • Wednesday, May 4, 2016
  • by byng
  • Repository
  • 2 Watchers
  • 1 Stars
  • 359 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 5 % Grown

The README.md

Pimcore Doctrine Migrations

In some Pimcore workflows you may find yourself repeatedly setting up the same content on several different environments (e.g. locally -> dev -> uat -> live). Doing this work manually is not only cumbersome, but it's also incredibly error prone. To alleviate this issue Byng decided to use Doctrine Migrations., (*1)

Using Doctrine Migrations you can automate database changes, and changes within Pimcore itself. For example; create pages, object, changing settings, etc., (*2)

Installation

Require the library via Composer (this library must be installed via Composer):, (*3)

$ composer require byng/pimcore-doctrine-migrations-library

Then in your project's composer.json file add the following snippets:, (*4)

{
    ...
    "config": {
        "project-root-path": "./"
    },
    ...
    "scripts": {
        "post-install-cmd": [
            "Byng\\Pimcore\\DoctrineMigrations\\Installer::install"
        ],
        "post-update-cmd": [
            "Byng\\Pimcore\\DoctrineMigrations\\Installer::install"
        ]
    }
    ...
}

The project root path is necessary so that the installer can create a migrations folder., (*5)

Note: The installation script will overwrite the migrations configuration files created in the project root. Changes to these files will be overwritten on composer install and update. We recommend placing them in your ignore file(s)., (*6)

Usage

Once installed, you can simply use the library like you normally would with Doctrine Migrations. See [their documentation here][1]., (*7)

License

MIT, (*8)

The Versions

04/05 2016

dev-master

9999999-dev

A library to add integration for Doctrine migrations in Pimcore.

  Sources   Download

MIT

The Requires

 

04/05 2016

v1.1.0

1.1.0.0

A library to add integration for Doctrine migrations in Pimcore.

  Sources   Download

MIT

The Requires

 

26/04 2016

v1.0.0

1.0.0.0

A library to add integration for Doctrine migrations in Pimcore.

  Sources   Download

MIT

The Requires