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

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

srlabs/migration-wrangler
=========================

Import and export migration table data in Laravel projects.

v4.0.0(6y ago)013MITPHP

Since Jan 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/stagerightlabs/Laravel-Migration-Wrangler)[ Packagist](https://packagist.org/packages/srlabs/migration-wrangler)[ RSS](/packages/srlabs-migration-wrangler/feed)WikiDiscussions dev Synced today

READMEChangelogDependencies (6)Versions (8)Used By (0)

### WARNING

[](#warning)

This package has been deprecated; new schema management tools have been added directly to Laravel 8; you can read about them here:

Migration Wrangler - Deprecated
===============================

[](#migration-wrangler---deprecated)

[![No Maintenance Intended](https://camo.githubusercontent.com/d904056147052e22d8e1c7f46bb50293ed2aeb4c43ead9a2d0cf7a48b46d0562/687474703a2f2f756e6d61696e7461696e65642e746563682f62616467652e737667)](http://unmaintained.tech/)

Sometimes you may find that you want to port a migrations table from one database to another. This might occur if you are refactoring your migrations and want to update your production database migrations table to allow future migration tasks to remain in sync with your development database. This tool provides three artisan commands that should make that process easier.

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

[](#installation)

```
composer require srlabs/migration-wrangler
```

This package uses automatic [Package Discovery](https://laravel.com/docs/5.5/packages#package-discovery); once your composer installation is complete, you should be good to go. If not, you may need to manually register the service provider.

Usage
-----

[](#usage)

There are three new artisan commands provided by this package:

### migrations:export

[](#migrationsexport)

This command takes data from an existing migrations table and writes it to a json file.

Options: - database: The name of the database connection you want to pull data from - filepath: The destination folder for the generated json file - pretty: Optionally write the json in an easily readable format.

### migrations:import

[](#migrationsimport)

This command takes a json file generated by the export command and uses it to populate the migrations table, replacing the existing data. You must specify a path to the json file as the first argument to this command.

Options: - database: The name of the database connection you want to insert data into - pretend: Attempt the import process without making any actual changes to the database.

### migrations:generate

[](#migrationsgenerate)

This command traverses your migrations folder and generates a json file based on the migrations found there. It will automatically put each migration into a separate [batch](https://laravel.com/docs/5.5/migrations#rolling-back-migrations).

Options: - path: The location of the migrations folder you want to inspect - filepath: The destination folder for the generated json file - pretty: Optionally write the json in an easily readable format.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

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

Recently: every ~192 days

Total

6

Last Release

2259d ago

Major Versions

v1.0.1 → v2.0.02018-02-15

v2.2.0 → v3.0.02019-09-04

v3.0.0 → v4.0.02020-03-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/97d8f58fda6a474519e876ece356e8246390e4e7f3b2c56ee8ec6bc1e88cfa6b?d=identicon)[Stage Right Labs](/maintainers/Stage%20Right%20Labs)

---

Top Contributors

[![rydurham](https://avatars.githubusercontent.com/u/674347?v=4)](https://github.com/rydurham "rydurham (24 commits)")

---

Tags

laravelphplaraveldatabasemigrations

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)[dragon-code/laravel-data-dumper

Adding data from certain tables when executing the `php artisan schema:dump` console command

3418.6k](/packages/dragon-code-laravel-data-dumper)[orptech/laravel-migration-partition

Laravel extensions that extends Illuminate to enable partitioned table creation within Laravel migrations.

3426.7k](/packages/orptech-laravel-migration-partition)

PHPackages © 2026

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