Repolode
doctrine

doctrine/DoctrineMigrationsBundle

Symfony bundle that integrates the Doctrine Migrations library, letting Symfony apps version and apply database schema changes.

Stars
4,297
Forks
218
Open issues
44
Last commit
4 days ago

What is it?

DoctrineMigrationsBundle connects the Doctrine Migrations library to Symfony applications. It lets developers version changes to their database schema and apply them in a predictable order on every server that runs the application.

The bundle is maintained under the doctrine organization and is intended for Symfony projects that already use Doctrine ORM or DBAL. Its documentation is hosted on the Symfony website, where setup and command usage are described in full.

Key features

  • 01Creates and tracks versioned database migration classes.
  • 02Applies pending migrations in a predictable order across environments.
  • 03Integrates with Symfony console commands for generating and running migrations.

Use cases

  • Managing schema changes in a Symfony application shared by a team.
  • Deploying the same database changes consistently to staging and production servers.

Quick start

  1. 1

    Install the bundle with Composer

    composer require doctrine/doctrine-migrations-bundle

Topics

#php#symfony#doctrine#database-migration#symfony-bundle#orm#bundle#doctrine-migrations

FAQ

What is DoctrineMigrationsBundle?
Symfony bundle that integrates the Doctrine Migrations library, letting Symfony apps version and apply database schema changes. DoctrineMigrationsBundle connects the Doctrine Migrations library to Symfony applications. It lets developers version changes to their database schema and apply them in a predictable order on every server that runs the application.
Is DoctrineMigrationsBundle free to use? What license does it have?
DoctrineMigrationsBundle is open source under the MIT license. Check the license terms before using it in commercial products.
Is DoctrineMigrationsBundle still maintained?
Actively maintained. The last commit to DoctrineMigrationsBundle was on Nov 3, 2026.
What can I use DoctrineMigrationsBundle for?
Managing schema changes in a Symfony application shared by a team. Deploying the same database changes consistently to staging and production servers.
How do I install DoctrineMigrationsBundle?
Install the bundle with Composer: composer require doctrine/doctrine-migrations-bundle
Where can I get DoctrineMigrationsBundle?
The source code and installation instructions are on GitHub: https://github.com/doctrine/DoctrineMigrationsBundle

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects