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

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

librette/doctrine-migrations
============================

168PHP

Since Feb 27Pushed 6y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Librette/Doctrine Migrations
============================

[](#librettedoctrine-migrations)

Requirements
------------

[](#requirements)

- PHP 5.3.2 or higher.
- [Nette Framework 2.1.x](https://github.com/nette/nette)
- [Kdyby/Console](https://github.com/kdyby/console)
- [Kdyby/Events](https://github.com/kdyby/events)
- [Doctrine DBAL](https://github.com/doctrine/dbal)

Recommended:

- [Doctrine ORM 2.4.x](https://github.com/doctrine/orm)
- [Kdyby/Doctrine](https://github.com/kdyby/doctrine)

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

[](#installation)

The best way to install this extension is using [Composer](http://getcomposer.org/):

```
$ composer require librette/doctrine-migrations
```

Now you have to register this extension in your config.neon

```
extensions:
	migrations: Librette\Doctrine\Migrations\MigrationsExtension
```

Configuration
-------------

[](#configuration)

If you have already configured Doctrine, you don't have to configure anything else, but there are few things you can configure:

```
migrations:
	name: My migrations
	migrationsNamespace: MigrationsNamespace
	tableName: doctrine_migration_versions
	migrationsDirectory: %appDir%/migrations
	migrations:
		myMigration:
			version: 123
			class: MyMigration123
```

Default values of migrationsNamespace, tableName and migrationsDirectory are the same as you see in example above.

Migrations directory must exists and must be writable.

Usage
-----

[](#usage)

Simply run Kdyby\\Console and you should be able to use new commands.

For more detailed information about Doctrine Migrations visit [Doctrine Migrations documentation](http://docs.doctrine-project.org/projects/doctrine-migrations/en/latest/)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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://www.gravatar.com/avatar/24237c1135d761c9477a0b3da5fa8a105a1f21984b4b2e2ae0ba2083ba6f825f?d=identicon)[matej21](/maintainers/matej21)

---

Top Contributors

[![matej21](https://avatars.githubusercontent.com/u/1276059?v=4)](https://github.com/matej21 "matej21 (8 commits)")

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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