PHPackages                             skipthedragon/wp-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. skipthedragon/wp-migrations

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

skipthedragon/wp-migrations
===========================

Doctrine like Migrations in WordPress.

101PHP

Since Mar 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/SkipTheDragon/wp-migrations)[ Packagist](https://packagist.org/packages/skipthedragon/wp-migrations)[ RSS](/packages/skipthedragon-wp-migrations/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

WordPress Migration
-------------------

[](#wordpress-migration)

Heavily inspired by Symfony/Doctrine migrations, this package provides a simple way to manage your WordPress database schema and data.

### Installation

[](#installation)

```
 composer require skipthedragon/wp-migrations
```

### Pre-requisites

[](#pre-requisites)

This package requires:

- `wpdb` (WordPress database)
- at least PHP 8.1

### Prerequisites

[](#prerequisites)

Migrations must:

- be in the migration folder that you specified in the config
- have a unique timestamp in its name
- implement the Migration interface (`WpMigrations\Architecture\Migration`)
- have `MigrationV` in its name

### Usage

[](#usage)

To run the migrations, you can use the following code:

```
 use WpMigrations\service\MigrationManagerService;

 $config = new \WpMigrations\Architecture\MigrationConfig(
        'path/to/migrations',
        'WpMigrations\\Migrations\\',
        'my_plugin_name'
 );

 $migrationManagerService = new MigrationManagerService($config);
 $migrationManagerService->migrate();
```

Check the `migrate()` method in `service/MigrationManagerService.php` for more options and types of migration.

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity19

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://avatars.githubusercontent.com/u/31050299?v=4)[Tudorache Leonard Valentin](/maintainers/SkipTheDragon)[@SkipTheDragon](https://github.com/SkipTheDragon)

---

Top Contributors

[![SkipTheDragon](https://avatars.githubusercontent.com/u/31050299?v=4)](https://github.com/SkipTheDragon "SkipTheDragon (3 commits)")

---

Tags

migrations-runnerphpwordpress

### Embed Badge

![Health badge](/badges/skipthedragon-wp-migrations/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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