PHPackages                             thecodingmachine/doctrine-migrations-universal-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. thecodingmachine/doctrine-migrations-universal-module

ActiveLibrary[Database &amp; ORM](/categories/database)

thecodingmachine/doctrine-migrations-universal-module
=====================================================

Cross-framework module for doctrine migrations

025PHP

Since Dec 14Pushed 8y ago6 watchersCompare

[ Source](https://github.com/thecodingmachine/doctrine-migrations-universal-module)[ Packagist](https://packagist.org/packages/thecodingmachine/doctrine-migrations-universal-module)[ RSS](/packages/thecodingmachine-doctrine-migrations-universal-module/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/3d8ff2f58eedefc299fefb8bba2492fac3754db1b90dcde80b422967ef972f0c/68747470733a2f2f706f7365722e707567782e6f72672f746865636f64696e676d616368696e652f646f637472696e652d6d6967726174696f6e732d756e6976657273616c2d6d6f64756c652f762f737461626c65)](https://packagist.org/packages/thecodingmachine/doctrine-migrations-universal-module)[![Latest Unstable Version](https://camo.githubusercontent.com/bb51017df4ff643bd3ac570655eb06f0a158a1609a3d76af280c7a79a58a93a3/68747470733a2f2f706f7365722e707567782e6f72672f746865636f64696e676d616368696e652f646f637472696e652d6d6967726174696f6e732d756e6976657273616c2d6d6f64756c652f762f756e737461626c65)](https://packagist.org/packages/thecodingmachine/doctrine-migrations-universal-module)[![License](https://camo.githubusercontent.com/35b69859d39e4766f00045012a1ff955e9be407c78235eb5ecc2573ad9080850/68747470733a2f2f706f7365722e707567782e6f72672f746865636f64696e676d616368696e652f646f637472696e652d6d6967726174696f6e732d756e6976657273616c2d6d6f64756c652f6c6963656e7365)](https://packagist.org/packages/thecodingmachine/doctrine-migrations-universal-module)[![Build Status](https://camo.githubusercontent.com/ebce501b92d87fbbf43df1430d57eb60a7ad6f4fb0f602c52034fb4b9a7cc534/68747470733a2f2f7472617669732d63692e6f72672f746865636f64696e676d616368696e652f646f637472696e652d6d6967726174696f6e732d756e6976657273616c2d6d6f64756c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/thecodingmachine/doctrine-migrations-universal-module)

Doctrine Migrations universal module
====================================

[](#doctrine-migrations-universal-module)

This package integrates Doctrine Migrations in any [container-interop](https://github.com/container-interop/service-provider) compatible framework/container.

Installation
------------

[](#installation)

```
composer require thecodingmachine/doctrine-migrations-universal-module

```

Once installed, you need to register the [`TheCodingMachine\DoctrineMigrationsServiceProvider`](src/DoctrineMigrationsServiceProvider.php) into your container.

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

Introduction
------------

[](#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.

Both packages are dependencies of this package.

Expected values / services
--------------------------

[](#expected-values--services)

This *service provider* expects the following configuration / services to be available:

NameCompulsoryDescription`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
-----------------

[](#provided-services)

This *service provider* provides the following services:

Service nameDescription`Doctrine\DBAL\Migrations\Configuration\Configuration`An instance containing the configuration of Doctrine MigrationsExtended services
-----------------

[](#extended-services)

This *service provider* extends those services:

NameCompulsoryDescription`Symfony\Component\Console\Application`*yes*The Symfony consoleProject template courtesy of [thecodingmachine/service-provider-template](https://github.com/thecodingmachine/service-provider-template)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1104771?v=4)[mouf](/maintainers/mouf)[@Mouf](https://github.com/Mouf)

![](https://avatars.githubusercontent.com/u/1847918?v=4)[TheCodingMachine](/maintainers/thecodingmachine)[@thecodingmachine](https://github.com/thecodingmachine)

---

Top Contributors

[![moufmouf](https://avatars.githubusercontent.com/u/1290952?v=4)](https://github.com/moufmouf "moufmouf (3 commits)")

### Embed Badge

![Health badge](/badges/thecodingmachine-doctrine-migrations-universal-module/health.svg)

```
[![Health](https://phpackages.com/badges/thecodingmachine-doctrine-migrations-universal-module/health.svg)](https://phpackages.com/packages/thecodingmachine-doctrine-migrations-universal-module)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
