Cross-framework module for doctrine migrations
This package is auto-updated.
Last update: 2021-10-06 17:20:22 UTC
This package integrates Doctrine Migrations in any container-interop compatible framework/container.
composer require thecodingmachine/doctrine-migrations-universal-module
Once installed, you need to register the
TheCodingMachine\DoctrineMigrationsServiceProvider into your container.
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.
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.
Both packages are dependencies of this package.
This service provider expects the following configuration / services to be available:
||no||The directory containing Doctrine migrations. By default, the service provider will guess it from your composer.json file.|
||no||The namespace containing Doctrine migrations. By default, the service provider will guess it from your composer.json file.|
||no||The name of the "versions" table created by Doctrine Migrations in your schema to keep track of applied migrations.|
This service provider provides the following services:
||An instance containing the configuration of Doctrine Migrations|
This service provider extends those services:
||yes||The Symfony console|
Project template courtesy of thecodingmachine/service-provider-template