PHPackages                             jeremygiberson/doctrine-migrations-boilerplate - 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. jeremygiberson/doctrine-migrations-boilerplate

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

jeremygiberson/doctrine-migrations-boilerplate
==============================================

Doctrine ORM &amp; Doctrine Migrations project w/ configuration and wiring. Going through the documentation for either project and putting them together can be a pain the first few times. This project provides the end result as sometimes a working example is better documentation.

1.0.0(10y ago)022MIT

Since Jun 9Compare

[ Source](https://github.com/jeremygiberson/doctrine-migrations-boilerplate)[ Packagist](https://packagist.org/packages/jeremygiberson/doctrine-migrations-boilerplate)[ RSS](/packages/jeremygiberson-doctrine-migrations-boilerplate/feed)WikiDiscussions Synced 3d ago

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

Migrations Boilerplate
======================

[](#migrations-boilerplate)

This project wires up Doctrine ORM &amp; Migrations.

The project contains a working ORM + Migrations wiring/configuration. It's not a statement of best practices or anything, just a working example to get you going. Feel free to change things to your preference needs.

In order to use the command line tools you need to create the Entity Manager and provide the configuration to your model/mapping paths. But you'll also need the same configuration to create the Entity Manager in your application code. Rather than put this configuration in your application configuration or bootstrap, it's a good idea to keep entity manager &amp; ORM configuration in a separate tiny config file. This lets you reuse the config in your app bootstrap and your command line config (and or test suite configs) without having to bootstrap your app config. This is just a suggestion though and you don't have to follow it.

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

[](#installation)

Use composer to create a new project based off this boilerplate.

```
composer create-project jeremygiberson/doctrine-migrations-boilerplate my-project
cd my-project

```

### Overrides

[](#overrides)

See `doctrine-config.php.dist` for overridable values. To override, copy the file to `doctrine-config.php` and change values to match your requirements.

Usage
-----

[](#usage)

### Status

[](#status)

Check migrations status

`vendor/bin/doctrine-migrations migrations:status`

### Migrate

[](#migrate)

Run pending migrations

`vendor/bin/doctrine-migrations migrations:migrate`

### Diff

[](#diff)

Generate a migration file by comparing current schema to your model definitions.

`vendor/bin/doctrine-migrations migrations:diff`

### Other Commands

[](#other-commands)

There are other commands available. You can see the list by running doctrine-migration without arguments.

`vendor/bin/doctrine-migrations`

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Unknown

Total

1

Last Release

3676d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c2445eabf60869a0410b641fbec7b87fea798e5d12e6e31120223cbc230a97ec?d=identicon)[jeremygiberson](/maintainers/jeremygiberson)

### Embed Badge

![Health badge](/badges/jeremygiberson-doctrine-migrations-boilerplate/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[concrete5/core

Concrete core subtree split

20166.1k52](/packages/concrete5-core)

PHPackages © 2026

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