PHPackages                             awkwardideas/migrator - 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. awkwardideas/migrator

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

awkwardideas/migrator
=====================

MySQL to Laravel Migrator

1.0.0.0(8y ago)6611MITPHPPHP &gt;=5.6.4

Since Nov 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/awkwardideas/Migrator)[ Packagist](https://packagist.org/packages/awkwardideas/migrator)[ RSS](/packages/awkwardideas-migrator/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Migrator: MySQL to Laravel Migration Generator
==============================================

[](#migrator-mysql-to-laravel-migration-generator)

[![Latest Stable Version](https://camo.githubusercontent.com/a337cab3618ed2d2e9c15eb82ce53d759ac0ca72ed686a97febd255e7d3d599e/68747470733a2f2f706f7365722e707567782e6f72672f61776b7761726469646561732f6d69677261746f722f762f737461626c65)](https://packagist.org/packages/awkwardideas/migrator)[![Total Downloads](https://camo.githubusercontent.com/7425f71d7b9fcd6e68181ad00568f5972259f3659b487fc72c48e3f1321d9eb7/68747470733a2f2f706f7365722e707567782e6f72672f61776b7761726469646561732f6d69677261746f722f646f776e6c6f616473)](https://packagist.org/packages/awkwardideas/migrator)[![Latest Unstable Version](https://camo.githubusercontent.com/20d0d6b7be3d821159746f6d1e02c7b60ceddc2cd7385f94d704f97ecc02a711/68747470733a2f2f706f7365722e707567782e6f72672f61776b7761726469646561732f6d69677261746f722f762f756e737461626c65)](https://packagist.org/packages/awkwardideas/migrator)[![License](https://camo.githubusercontent.com/f2268ce0d31decd05fa4ce08a5c9d2bd6d8d2a3bbb87f77c3b4384102dd9c9ec/68747470733a2f2f706f7365722e707567782e6f72672f61776b7761726469646561732f6d69677261746f722f6c6963656e7365)](https://packagist.org/packages/awkwardideas/migrator)

Install Via Composer
--------------------

[](#install-via-composer)

composer require awkwardideas/migrator

Add to Laravel App Config
-------------------------

[](#add-to-laravel-app-config)

```
/*
 * Package Service Providers...
 */
AwkwardIdeas\Migrator\MigratorServiceProvider::class,

```

Commands via Artisan
--------------------

[](#commands-via-artisan)

Command line actions are done via artisan. The host, username, password from the .env file are used for making the connection.

### php artisan migrator:clean

[](#php-artisan-migratorclean)

Removes all migrations files from the migrations folder

### php artisan migrator:truncate

[](#php-artisan-migratortruncate)

Truncates the provided database.

\--database= Database to truncate --force Bypass confirmations

### php artisan migrator:purge

[](#php-artisan-migratorpurge)

Combination of Clean and Truncate

Options:

\--database= Database to truncate --force Bypass confirmations

### php artisan migrator:prepare

[](#php-artisan-migratorprepare)

Create migration files using the database information in .env

Options:

\--from= Database to migrate from --force Bypass confirmations

### php artisan migrator:migrate

[](#php-artisan-migratormigrate)

Create migration files using the database information in .env and run php artisan migrate

Options:

\--from= Database to migrate from --to= Database to migrate to (for truncation) --force Bypass confirmations

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Total

2

Last Release

3131d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17416801?v=4)[Awkward Ideas](/maintainers/awkwardideas)[@awkwardideas](https://github.com/awkwardideas)

### Embed Badge

![Health badge](/badges/awkwardideas-migrator/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

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

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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