PHPackages                             rossriley/doctrine-migrations-helper - 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. rossriley/doctrine-migrations-helper

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

rossriley/doctrine-migrations-helper
====================================

Setup tool to provide configured Doctrine Migration Commands

v1.1.1(5y ago)31.3kMITPHP

Since Dec 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/rossriley/doctrine-migrations-helper)[ Packagist](https://packagist.org/packages/rossriley/doctrine-migrations-helper)[ RSS](/packages/rossriley-doctrine-migrations-helper/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

Doctrine Migration Commands Helper
----------------------------------

[](#doctrine-migration-commands-helper)

This package allows the setting up of the Doctrine CLI Tools with less Boilerplate and no Config Files.

You may want to use this if you prefer to initialise migrations from your own configuration / DI container rather than requiring an xml / yml migrations configuration file.

It depends on DBAL and must be initialised with a valid DriverConnection

#### Usage

[](#usage)

The set is designed to be passed straight to a Symfony Console Application, usage may be as follows:

```
use DoctrineMigrationsHelper\CommandSet;

$set = new CommandSet($db_connection, $namespace, $directory);

$console->addCommands($set->getCommands());

```

The created configuration is available as a public property on the CommandSet so it can be manipulated in the same way as a normal Migrations configuration. For example:

```
use DoctrineMigrationsHelper\CommandSet;

$set = new CommandSet($db_connection);
$set->configuration->setMigrationsNamespace("Example\Namespace");

$console->addCommands($set->getCommands());

```

All standard CLI tools are setup by default, you can override this by manually setting the `$set->commands` array with your own set.

Additionally if your DI constructs a migrations configuration you can just overwrite the auto created one. For example:

```
$set = new CommandSet($container->get("db-connection"));
$set->configuration = $container->get("migrations");
$console->addCommands($set->getCommands());

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~1132 days

Total

3

Last Release

1904d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5082?v=4)[Ross Riley](/maintainers/rossriley)[@rossriley](https://github.com/rossriley)

---

Top Contributors

[![rossriley](https://avatars.githubusercontent.com/u/5082?v=4)](https://github.com/rossriley "rossriley (20 commits)")

### Embed Badge

![Health badge](/badges/rossriley-doctrine-migrations-helper/health.svg)

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

###  Alternatives

[doctrine/doctrine-migrations-bundle

Symfony DoctrineMigrationsBundle

4.3k177.9M537](/packages/doctrine-doctrine-migrations-bundle)[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)[worksome/foggy

Foggy is a tool for making database dumps with some data removed/changed.

26571.7k1](/packages/worksome-foggy)[mnapoli/dbal-schema

DB schema manager for Doctrine DBAL

9732.9k1](/packages/mnapoli-dbal-schema)[psx/sql

Generate type-safe PHP classes from your database

1773.4k4](/packages/psx-sql)[semhoun/slim-skeleton-mvc

Simple Slim Framework 4 skeleton with Twig, Monolog, Doctrine in Sqlite.

871.3k](/packages/semhoun-slim-skeleton-mvc)

PHPackages © 2026

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