PHPackages                             dotblue/nextras-migrations-command - 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. dotblue/nextras-migrations-command

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

dotblue/nextras-migrations-command
==================================

Easy setup for nextras/migrations with kdyby/console

1.1.5(11y ago)33.0k1BSD-3-ClausePHPPHP &gt;=5.4

Since Mar 9Pushed 11y ago6 watchersCompare

[ Source](https://github.com/dotblue/nextras-migrations-command)[ Packagist](https://packagist.org/packages/dotblue/nextras-migrations-command)[ RSS](/packages/dotblue-nextras-migrations-command/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (13)Used By (0)

Easy setup for [nextras/migrations](https://github.com/nextras/migrations) with [kdyby/console](https://github.com/Kdyby/Console)
---------------------------------------------------------------------------------------------------------------------------------

[](#easy-setup-for-nextrasmigrations-with-kdybyconsole)

#### Requirements

[](#requirements)

- PHP 5.4+
- [nextras/migrations](https://github.com/nextras/migrations) &gt;= 2.1
- [kdyby/console](https://github.com/Kdyby/Console) &gt;= 2.0 (optional)
- [kdyby/events](https://github.com/Kdyby/Events) &gt;= 2.0 (optional)

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

[](#installation)

1. Copy source codes from Github or using [Composer](http://getcomposer.org/):

```
$ composer require dotblue/nextras-migrations-command@~1.0
```

2. Register as Configurator's extension:

```
extensions:
	migrations: DotBlue\Migrations\MigrationsExtension

```

3. Set configuration to fit your app:

```
migrations:
	extensions:
		sql: Nextras\Migrations\Extensions\NetteDbSql
	groups:
		structures: %appDir%/../sql

```

4. By default, migrations use Nette\\Database to connect to DB.

```
nette:
	database:
		dsn:
		user:
		password:

```

`symfony/console` or `kdyby/console`?
-------------------------------------

[](#symfonyconsole-or-kdybyconsole)

You can use this extension with plain Symfony Console. But if you use Kdyby Console, command will get registered automatically.

`kdyby/events` ?
----------------

[](#kdybyevents-)

if you use `kdyby/events`, you can listen to following events:

- `nextras.migrations.success` (when migrations finish successfully)
- `nextras.migrations.fail` (when migrations finish with exception)
- `nextras.migrations.complete` (when migrations finish regardless outcome)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

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 ~21 days

Recently: every ~34 days

Total

11

Last Release

4239d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/920689f25a0fc31b2807556eddd47203f33c4318893bce98818cf2f3e627ee8e?d=identicon)[vojtechdobes](/maintainers/vojtechdobes)

---

Top Contributors

[![vojtech-dobes](https://avatars.githubusercontent.com/u/415925?v=4)](https://github.com/vojtech-dobes "vojtech-dobes (15 commits)")

---

Tags

consolenettesqlmigrationsnextras

### Embed Badge

![Health badge](/badges/dotblue-nextras-migrations-command/health.svg)

```
[![Health](https://phpackages.com/badges/dotblue-nextras-migrations-command/health.svg)](https://phpackages.com/packages/dotblue-nextras-migrations-command)
```

###  Alternatives

[robmorgan/phinx

Phinx makes it ridiculously easy to manage the database migrations for your PHP app.

4.5k46.2M405](/packages/robmorgan-phinx)[nettrine/migrations

Doctrine Migrations for Nette Framework

411.7M17](/packages/nettrine-migrations)[psx/sql

Generate type-safe PHP classes from your database

1773.4k4](/packages/psx-sql)

PHPackages © 2026

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