2017 © Pedro Peláez
 

library doctrine-migrations-universal-module

Cross-framework module for doctrine migrations

image

thecodingmachine/doctrine-migrations-universal-module

Cross-framework module for doctrine migrations

  • Thursday, December 14, 2017
  • by mouf
  • Repository
  • 6 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Latest Stable Version Latest Unstable Version License Build Status, (*1)

Doctrine Migrations universal module

This package integrates Doctrine Migrations in any container-interop compatible framework/container., (*2)

Installation

composer require thecodingmachine/doctrine-migrations-universal-module

Once installed, you need to register the TheCodingMachine\DoctrineMigrationsServiceProvider into your container., (*3)

If your container supports thecodingmachine/discovery integration, you have nothing to do. Otherwise, refer to your framework or container's documentation to learn how to register service providers., (*4)

Introduction

This service provider is meant to add support for Doctrine migrations in your application. It is expected that your application already has a Doctrine DBAL connection and a Symfony Console., (*5)

Both packages are dependencies of this package., (*6)

Expected values / services

This service provider expects the following configuration / services to be available:, (*7)

Name Compulsory Description
doctrine_migrations.directory no The directory containing Doctrine migrations. By default, the service provider will guess it from your composer.json file.
doctrine_migrations.namespace no The namespace containing Doctrine migrations. By default, the service provider will guess it from your composer.json file.
doctrine_migrations.table_name no The name of the "versions" table created by Doctrine Migrations in your schema to keep track of applied migrations.

Provided services

This service provider provides the following services:, (*8)

Service name Description
Doctrine\DBAL\Migrations\Configuration\Configuration An instance containing the configuration of Doctrine Migrations

Extended services

This service provider extends those services:, (*9)

Name Compulsory Description
Symfony\Component\Console\Application yes The Symfony console

Project template courtesy of thecodingmachine/service-provider-template, (*10)

The Versions