PHPackages                             joseki/migration - 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. joseki/migration

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

joseki/migration
================

Joseki/Migration is console database migration tool for your PHP apps.

v2.0.0(7y ago)0804MITPHPPHP ~7.0

Since Sep 27Pushed 7y ago4 watchersCompare

[ Source](https://github.com/Joseki/Migration)[ Packagist](https://packagist.org/packages/joseki/migration)[ RSS](/packages/joseki-migration/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (17)Versions (15)Used By (0)

Joseki/Migration
================

[](#josekimigration)

[![Build Status](https://camo.githubusercontent.com/5bc3d1469a3f4bda9d0b2683c986573b26c75f3b4616ae270813c55ba65899bb/68747470733a2f2f7472617669732d63692e6f72672f4a6f73656b692f4d6967726174696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Joseki/Migration)[![Latest Stable Version](https://camo.githubusercontent.com/de2df820954e0da3cc83421934beaed53df55303217e683b79a36e841e8b5f9a/68747470733a2f2f706f7365722e707567782e6f72672f6a6f73656b692f6d6967726174696f6e2f762f737461626c65)](https://packagist.org/packages/joseki/migration)

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

[](#requirements)

Joseki/Migration requires PHP 5.4 or higher.

- [Nette Framework](https://github.com/nette/nette)
- [Dibi](http://dibiphp.com/)
- [Symfony Console](https://github.com/symfony/Console)

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

[](#installation)

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

```
$ composer require joseki/migration
```

Register compiler extension in your `config.neon`:

```
extensions:
  Migration: Joseki\Migration\DI\MigrationExtension
```

Example
-------

[](#example)

Add the following to your `config.neon`:

```
extensions:
  Migration: Joseki\Migration\DI\MigrationExtension

Migration:
  migrationDir:                     # specifies location of migrations
  migrationPrefix: Migration        # migration filename prefix
  migrationTable: _migration_log    # database table for migration sync
  logFile:                          # OPTIONAL
  options:                          # OPTIONAL
    collate: 'utf8_unicode_ci'      # OPTIONAL (DEFAULT VALUE)
    cascading: true                 # OPTIONAL (DEFAULT VALUE)
```

Running a console command
-------------------------

[](#running-a-console-command)

Create a new empty migration

```
app/console joseki:migration:create
```

Sync all existing migrations with your database

```
app/console joseki:migration:migrate
```

Create a new migration based on existing LeanMapper entities (registered Repositories)

```
app/console joseki:migration:from-lm
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~103 days

Recently: every ~262 days

Total

12

Last Release

2788d ago

Major Versions

v0.1.0 → v1.0.02015-11-05

v1.1.0 → v2.0.02018-11-04

PHP version history (2 changes)v0.1.0PHP &gt;=5.3.2

v2.0.0PHP ~7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1245190?v=4)[Miroslav Paulík](/maintainers/castamir)[@castamir](https://github.com/castamir)

---

Top Contributors

[![castamir](https://avatars.githubusercontent.com/u/1245190?v=4)](https://github.com/castamir "castamir (2 commits)")[![pavelgajdos](https://avatars.githubusercontent.com/u/1135291?v=4)](https://github.com/pavelgajdos "pavelgajdos (2 commits)")

---

Tags

databasemigrationsdbdatabase migrationsjoseki

### Embed Badge

![Health badge](/badges/joseki-migration/health.svg)

```
[![Health](https://phpackages.com/badges/joseki-migration/health.svg)](https://phpackages.com/packages/joseki-migration)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)[perplorm/perpl

Perpl is an improved and still maintained fork of Propel2, an open-source Object-Relational Mapping (ORM) for PHP.

239.4k](/packages/perplorm-perpl)

PHPackages © 2026

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