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)5611MITPHPPHP &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 1mo 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 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

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

3080d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/771bc8e6daa6dea7b49ed5a97d38e0aa83c2abd0d32a97074d2eebac40383c49?d=identicon)[awkwardideas](/maintainers/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

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M543](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M209](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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